The issue is the controller for the menu fails badly when the triangle button is pressed. That particular menu uses the menu item id to index into an array somewhere. Since the triangle key is valued at -200, this causes a negative index into an array.

I've added a guard to ignore the triangle key for now.  If there is a more elegant solution we can find later than great.
Issue: 577
This commit is contained in:
techdragon.nguyen@gmail.com
2011-02-07 06:55:04 +00:00
parent 3eee274726
commit 6ccc859ca0

View File

@@ -732,6 +732,8 @@ void GameStateMenu::ButtonPressed(int controllerId, int controlId)
switch (controllerId)
{
case MENU_LANGUAGE_SELECTION:
if ( controlId == kInfoMenuID )
break;
setLang(controlId);
WResourceManager::Instance()->ReloadWFonts(); // Fix for choosing Chinese language at first time.
subMenuController->Close();