diff mm7_5.cpp @ 1101:3e5d70cfe20e

Award order fix, changed UIMSG_C0 to UIMSG_ClickAwardScrollBar
author Grumpy7
date Mon, 27 May 2013 12:45:17 +0200
parents 9c7eb4037567
children 5d5c78088274
line wrap: on
line diff
--- a/mm7_5.cpp	Mon May 27 11:19:14 2013 +0100
+++ b/mm7_5.cpp	Mon May 27 12:45:17 2013 +0200
@@ -2856,8 +2856,7 @@
           ++pMessageQueue_50CBD0->uNumMessages;*/
           pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
           continue;
-        case UIMSG_C0:
-			__debugbreak();
+        case UIMSG_ClickAwardScrollBar:
           dword_50651C = 1;
           if ( pMouse->GetCursorPos(&v211)->y > 178 )
             dword_50651C = -1;
@@ -10983,7 +10982,7 @@
                    1, 0, UIMSG_ClickAwardsDownBtn, 0, 0, "",
                    pIcons_LOD->GetTexture(uTextureID_ar_dn_up),
                    pIcons_LOD->GetTexture(uTextureID_ar_dn_dn), 0);
-    ptr_507BA4 = pGUIWindow_CurrentMenu->CreateButton(440, 62, 16, 232, 1, 0, UIMSG_C0, 0, 0, "", 0);
+    ptr_507BA4 = pGUIWindow_CurrentMenu->CreateButton(440, 62, 16, 232, 1, 0, UIMSG_ClickAwardScrollBar, 0, 0, "", 0);
   }
 }