changeset 2100:e460ca22fe8a

Dialogue option selection is frozen fix
author Ritor1
date Fri, 13 Dec 2013 22:19:56 +0600
parents 7edf389d49fc
children ee2724b9ca05 85e9766d6124
files UI/UICharacter.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Fri Dec 13 17:46:37 2013 +0600
+++ b/UI/UICharacter.cpp	Fri Dec 13 22:19:56 2013 +0600
@@ -1933,7 +1933,7 @@
     }
   }
   first_rows = 0;
-  //  a5 = pGUIWindow_CurrentMenu->uNumControls;
+  int a5 = pGUIWindow_CurrentMenu->uNumControls;
   curr_player = &pParty->pPlayers[uActiveCharacter-1];
 
   uCurrFontHeght=pFontLucida->uFontHeight;
@@ -1990,7 +1990,7 @@
   }
 
   if ( buttons_count )
-    pGUIWindow_CurrentMenu->_41D08F_set_keyboard_control_group(buttons_count, 1, 0, pGUIWindow_CurrentMenu->uNumControls);
+    pGUIWindow_CurrentMenu->_41D08F_set_keyboard_control_group(buttons_count, 1, 0, a5);
 }
 
 //----- (00418511) --------------------------------------------------------