Fix Valgrind warnings appearing during the test suit.

This commit is contained in:
Tobias Loose
2013-11-29 18:20:41 +01:00
parent 89206b3a6b
commit 031f2dbffb
11 changed files with 23 additions and 7 deletions

View File

@@ -675,6 +675,7 @@ ActionStack::ActionStack(GameObserver* game)
currentState = -1;
mode = ACTIONSTACK_STANDARD;
checked = 0;
lastActionController = NULL;
if(!observer->getResourceManager()) return;
for (int i = 0; i < 8; ++i)