Merge pull request #670 from RisingFog/tickcount

Fixed last tick count not being set on movie load
This commit is contained in:
Lioncash 2014-07-24 21:03:31 -04:00
commit 4745af5393
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;