select -> escape

This commit is contained in:
simon.kagstrom 2010-01-30 17:31:51 +00:00
parent 1839a8fb82
commit 8c5894b7ac

View File

@ -50,7 +50,7 @@ void DialogueBox::escapeCallback(int which)
{ {
for (int i = 0; i < this->nListeners(); i++) for (int i = 0; i < this->nListeners(); i++)
if (this->listeners[i]) if (this->listeners[i])
((DialogueListener*)this->listeners[i])->selectCallback(this, ((DialogueListener*)this->listeners[i])->escapeCallback(this,
this->p_submenus[0].sel); this->p_submenus[0].sel);
Gui::gui->popDialogueBox(); Gui::gui->popDialogueBox();
if (this->delete_on_action) if (this->delete_on_action)