Try to fix one more potential linux compilation problem.
This commit is contained in:
parent
c1194600c3
commit
2d4f2c5b28
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user