- Fix PSP (and other non-debug) compilation. Yann please review.

- Fix memleak I introduced recently in modrules.cpp
This commit is contained in:
wagic.the.homebrew
2011-11-27 07:53:37 +00:00
parent 29132073de
commit 4c56842cf5
2 changed files with 4 additions and 1 deletions

View File

@@ -434,7 +434,7 @@ bool GameObserver::operator==(const GameObserver& aGame)
}
for (int i = 0; i < 2; i++)
{
TestSuiteAI * p = (TestSuiteAI *) (aGame.players[i]);
Player * p = aGame.players[i];
if (p->life != players[i]->life)
{