Fixed "Werror" related compilation problems on Linux and Meego.

This commit is contained in:
Xawotihs
2011-08-14 18:09:02 +00:00
parent 8f1e97f8f9
commit c188b4d104
20 changed files with 22 additions and 51 deletions

View File

@@ -818,7 +818,7 @@ void GameObserver::ButtonPressed(PlayGuiObject * target)
{
cardClick(NULL, avatar->player);
}
else if (GuiPhaseBar* phaseBar = dynamic_cast<GuiPhaseBar*>(target))
else if (dynamic_cast<GuiPhaseBar*>(target))
{
MTGGamePhase::GetInstance()->NextGamePhase();
}