changeset 1003:9318dd3f3711

return dword_50C9EC
author Ritor1
date Tue, 14 May 2013 23:16:10 +0600
parents 3ee391de04d5
children eac5af72b614 c45d51b3f4f4 d353bd3009d9 5520fdca7a74
files mm7_6.cpp
diffstat 1 files changed, 9 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_6.cpp	Tue May 14 19:05:08 2013 +0600
+++ b/mm7_6.cpp	Tue May 14 23:16:10 2013 +0600
@@ -8787,14 +8787,13 @@
             }
             else
             {
-              /*if ( dword_50C9E8 < 40 )
+              if ( dword_50C9E8 < 40 )
               {
                 dword_50C9EC[3 * dword_50C9E8] = 25;
                 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
                 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
                 ++dword_50C9E8;
-              }*/
-              pMessageQueue_50CBD0->AddMessage(UIMSG_CastQuickSpell, 0, 0);
+              }
             }
             break;
           case INPUT_Attack:
@@ -8833,13 +8832,12 @@
             }
             break;
           case INPUT_CharCycle:
-            if ( pCurrentScreen == SCREEN_SPELL_BOOK )// || dword_50C9E8 >= 40 )
+            if ( pCurrentScreen == SCREEN_SPELL_BOOK || dword_50C9E8 >= 40 )
               break;
-            /*dword_50C9EC[3 * dword_50C9E8] = 176;
+            dword_50C9EC[3 * dword_50C9E8] = 176;
             dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
             dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
-            ++dword_50C9E8;*/
-            pMessageQueue_50CBD0->AddMessage(UIMSG_CycleCharacters, 0, 0);
+            ++dword_50C9E8;
             break;
           case INPUT_LookUp:
             if ( pEventTimer->bPaused )
@@ -8880,23 +8878,21 @@
             }
             break;
           case INPUT_ZoomIn:
-            /*if ( dword_50C9E8 >= 40 )
+            if ( dword_50C9E8 >= 40 )
               break;
             dword_50C9EC[3 * dword_50C9E8] = 367;
             dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
             dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
-            ++dword_50C9E8;*/
-            pMessageQueue_50CBD0->AddMessage(UIMSG_ClickZoomOutBtn, 0, 0);
+            ++dword_50C9E8;
             break;
           case INPUT_ZoomOut:
-            /*if ( dword_50C9E8 < 40 )
+            if ( dword_50C9E8 < 40 )
             {
               dword_50C9EC[3 * dword_50C9E8] = 368;
               dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
               dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
               ++dword_50C9E8;
-            }*/
-            pMessageQueue_50CBD0->AddMessage(UIMSG_ClickZoomInBtn, 0, 0);
+            }
             break;
           case INPUT_AlwaysRun:
             bAlwaysRun = bAlwaysRun == 0;