changeset 1118:ca415f6bac1c

UIMSG_SpellBook_PressTab
author zipi
date Wed, 29 May 2013 20:12:22 +0100
parents ad89d1905b48
children aa706cde7fda
files GUIWindow.cpp GUIWindow.h mm7_5.cpp
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/GUIWindow.cpp	Wed May 29 19:55:25 2013 +0100
+++ b/GUIWindow.cpp	Wed May 29 20:12:22 2013 +0100
@@ -905,7 +905,7 @@
   }
   //while ( (signed int)v3 < 11 );
 
-  CreateButton(0, 0, 0, 0, 1, 0, UIMSG_33, 0, '\t', "", 0);
+  CreateButton(0, 0, 0, 0, 1, 0, UIMSG_SpellBook_PressTab, 0, '\t', "", 0);
   if ( a2 )
     _41D08F_set_keyboard_control_group(a2, 0, 0, 0);
 
--- a/GUIWindow.h	Wed May 29 19:55:25 2013 +0100
+++ b/GUIWindow.h	Wed May 29 20:12:22 2013 +0100
@@ -30,7 +30,7 @@
 
   UIMSG_31 = 49,
   UIMSG_32 = 50,
-  UIMSG_33 = 51,
+  UIMSG_SpellBook_PressTab = 51,
   UIMSG_34 = 52,
   UIMSG_35 = 53,
   UIMSG_MainMenu_ShowPartyCreationWnd = 54,
--- a/mm7_5.cpp	Wed May 29 19:55:25 2013 +0100
+++ b/mm7_5.cpp	Wed May 29 20:12:22 2013 +0100
@@ -2667,8 +2667,8 @@
             pPlayer10->PlaySound(SPEECH_12, 0);
           byte_506550 = 0;
           continue;
-        case UIMSG_33:
-			__debugbreak();
+        case UIMSG_SpellBook_PressTab:
+			//__debugbreak();
           if ( !uActiveCharacter )
             continue;
           pPlayer3 = pPlayers[uActiveCharacter];