# HG changeset patch # User Ritor1 # Date 1368551770 -21600 # Node ID 9318dd3f3711a90f1bedac278d77a6fc83ab3989 # Parent 3ee391de04d50ea1a479e9625ad426bda22554d8 return dword_50C9EC diff -r 3ee391de04d5 -r 9318dd3f3711 mm7_6.cpp --- 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;