Better super calls

This commit is contained in:
simon.kagstrom 2009-12-06 08:57:57 +00:00
parent 1102d8fdc1
commit 86ef62ed85

View File

@ -99,7 +99,7 @@ public:
return;
}
((Menu*)this)->runLogic();
Menu::runLogic();
}
void pushEvent(SDL_Event *ev)
@ -107,7 +107,7 @@ public:
if (this->dialogue)
this->dialogue->pushEvent(ev);
else
((Menu*)this)->pushEvent(ev);
Menu::pushEvent(ev);
}
virtual void selectCallback(int which)