Try to fix one more potential linux compilation problem.

This commit is contained in:
hiker 2014-05-18 22:32:58 +10:00
parent c1194600c3
commit 2d4f2c5b28

View File

@ -74,7 +74,7 @@ EventPropagation RegistrationDialog::processEvent(const std::string& event_sourc
std::string s = rib->getSelectionIDString(PLAYER_ID_GAME_MASTER); std::string s = rib->getSelectionIDString(PLAYER_ID_GAME_MASTER);
if(s=="accept") if(s=="accept")
{ {
Screen *s = GUIEngine::getCurrentScreen(); GUIEngine::Screen *s = GUIEngine::getCurrentScreen();
RegisterScreen *r = dynamic_cast<RegisterScreen*>(s); RegisterScreen *r = dynamic_cast<RegisterScreen*>(s);
assert(r); assert(r);
r->acceptTerms(); r->acceptTerms();