# HG changeset patch # User zipi # Date 1369854742 -3600 # Node ID ca415f6bac1c58075f5f5fa8cb481e9a2c19f16e # Parent ad89d1905b48f5dc0043718e7f076956c6d3a933 UIMSG_SpellBook_PressTab diff -r ad89d1905b48 -r ca415f6bac1c GUIWindow.cpp --- 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); diff -r ad89d1905b48 -r ca415f6bac1c GUIWindow.h --- 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, diff -r ad89d1905b48 -r ca415f6bac1c mm7_5.cpp --- 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];