Added some comments for the redo tests.

This commit is contained in:
xawotihs
2013-11-30 23:39:29 +01:00
parent 261a6e4780
commit 746a486e7a

View File

@@ -615,6 +615,7 @@ void TestSuite::ThreadProc(void* inParam)
while(!theGame.observer->didWin())
theGame.observer->Update(counter++);
// rewind and redo thanks to the action logging
stringstream stream;
stream << (*theGame.observer);
theGame.observer->load(stream.str(), false, 0, &theGame);