# HG changeset patch # User Ritor1 # Date 1372649190 -21600 # Node ID e70fe5d779286bd713625c2a58baf45923b6443a # Parent cc8d58f2bf0cfef1512ae0fcca61c3cb905420fb UIMSG_CastSpell_Telekinesis diff -r cc8d58f2bf0c -r e70fe5d77928 CastSpellInfo.cpp --- a/CastSpellInfo.cpp Fri Jun 28 16:51:01 2013 +0600 +++ b/CastSpellInfo.cpp Mon Jul 01 09:26:30 2013 +0600 @@ -4387,7 +4387,7 @@ return; pGUIWindow_Settings = GUIWindow::Create(0, 0, 640, 480, WINDOW_CastSpell, (int)&pCastSpellInfo[result], 0); - pGUIWindow_Settings->CreateButton(game_viewport_x, game_viewport_y, game_viewport_width, game_viewport_height, 1, 0, UIMSG_CastSpell_BE, 0, 0, "", 0); + pGUIWindow_Settings->CreateButton(game_viewport_x, game_viewport_y, game_viewport_width, game_viewport_height, 1, 0, UIMSG_CastSpell_Telekinesis, 0, 0, "", 0); sub_421B2C_PlaceInInventory_or_DropPickedItem(); return; } diff -r cc8d58f2bf0c -r e70fe5d77928 GUIWindow.h --- a/GUIWindow.h Fri Jun 28 16:51:01 2013 +0600 +++ b/GUIWindow.h Mon Jul 01 09:26:30 2013 +0600 @@ -151,7 +151,7 @@ UIMSG_ToggleShowDamage = 187, UIMSG_ScrollNPCPanel = 188, UIMSG_BD = 189, - UIMSG_CastSpell_BE = 190, + UIMSG_CastSpell_Telekinesis = 190, UIMSG_BF = 191, UIMSG_ClickAwardScrollBar = 192, UIMSG_C1 = 192, diff -r cc8d58f2bf0c -r e70fe5d77928 mm7_5.cpp --- a/mm7_5.cpp Fri Jun 28 16:51:01 2013 +0600 +++ b/mm7_5.cpp Mon Jul 01 09:26:30 2013 +0600 @@ -1774,12 +1774,9 @@ pCurrentScreen = SCREEN_GAME; viewparams->bRedrawGameUI = 1; continue; - case UIMSG_CastSpell_BE://??? - __debugbreak(); + case UIMSG_CastSpell_Telekinesis: if ( pRenderer->pRenderD3D ) - { LOWORD(v42) = pGame->pVisInstance->get_picked_object_zbuf_val(); - } else { uNumSeconds = (unsigned int)pMouse->GetCursorPos(&v210);