* Fix PSP compilation errors
* This does not magically make it work
This commit is contained in:
jean.chalard
2009-08-31 16:55:03 +00:00
parent cc550cf7b9
commit 336412f006
11 changed files with 69 additions and 14 deletions

View File

@@ -168,7 +168,7 @@ int GuiMana::receiveEventMinus(WEvent* e)
if ((event->color == (*it)->color) && (ManaIcon::ALIVE == (*it)->mode)) { (*it)->Wither(); return 1; }
return 1;
}
else if (WEventEmptyManaPool *event = dynamic_cast<WEventEmptyManaPool*>(e))
else if (dynamic_cast<WEventEmptyManaPool*>(e))
{
for (vector<ManaIcon*>::iterator it = manas.begin(); it != manas.end(); ++it)
(*it)->Drop(); //TODO: split according to which manapool was emptied...