Fixed "Werror" related compilation problems on Linux and Meego.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user