This commit is contained in:
Benau 2017-02-18 14:30:35 +08:00
parent 70511c5348
commit 131dc4bfad

View File

@ -193,7 +193,7 @@ void ReplayRecorder::save()
for (unsigned int k = 0; k < num_karts; k++) for (unsigned int k = 0; k < num_karts; k++)
{ {
if (world->getKart(k)->isGhostKart()) continue; if (world->getKart(k)->isGhostKart()) continue;
float cur_time = m_transform_events[k][m_count_transforms[k]-1].m_time; float cur_time = world->getKart(k)->getFinishTime();
if (cur_time < min_time) if (cur_time < min_time)
min_time = cur_time; min_time = cur_time;
} }