Return to the first selection when reentering the menu

This commit is contained in:
simon.kagstrom 2010-01-30 18:57:24 +00:00
parent 3d072f63c8
commit 54e41df785

View File

@ -176,6 +176,11 @@ public:
this->menu->pushEvent(ev);
}
void viewPushCallback()
{
this->menu->selectOne(0);
}
void draw(SDL_Surface *where)
{
SDL_Rect dst;