Small fix in TestSuite

"Update" should pass "dt" since the last update, not since the beginning the game.
This commit is contained in:
pankdm
2013-09-23 19:44:03 +00:00
parent 11f541a627
commit 54d1126c58

View File

@@ -762,7 +762,6 @@ void TestSuite::ThreadProc(void* inParam)
if (instance)
{
string filename;
float counter = 1.0f;
while(instance->mProcessing && (filename = instance->getNextFile()) != "")
{
TestSuiteGame theGame(instance, filename);
@@ -775,7 +774,7 @@ void TestSuite::ThreadProc(void* inParam)
theGame.initGame();
while(!theGame.observer->didWin())
theGame.observer->Update(counter++);
theGame.observer->Update(1);
/*
if(theGame.observer->gameType() != GAME_TYPE_MOMIR)
{