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