Fix a bug reported in the beta, where pressing triangle in the Story mode would crash the game

This commit is contained in:
wagic.the.homebrew@gmail.com
2011-04-09 08:26:43 +00:00
parent 70e3af8579
commit 693f7e156c

View File

@@ -527,6 +527,11 @@ void StoryDialog::Render()
void StoryDialog::ButtonPressed(int controllerid, int controlid)
{
if ( controlid == kInfoMenuID )
return;
if ( controlid == kCancelMenuID )
return;
mParent->gotoPage(((StoryChoice *) mObjects[controlid])->pageId);
}