Fixed last tick count not being set on movie load

This commit is contained in:
Fog 2014-07-24 20:49:43 -04:00
parent 87b3975f7c
commit 250cc9d5a0
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ void LoadInput(const std::string& filename)
g_totalFrames = tmpHeader.frameCount;
g_totalLagCount = tmpHeader.lagCount;
g_totalInputCount = tmpHeader.inputCount;
g_totalTickCount = tmpHeader.tickCount;
g_totalTickCount = g_tickCountAtLastInput = tmpHeader.tickCount;
EnsureTmpInputSize((size_t)totalSavedBytes);
g_totalBytes = totalSavedBytes;