comparison mm7_6.cpp @ 569:f451efdb7c8b

* Party buff icons drawing (right panel) * Water Walk works & draws * Fly works & draws * Invisibility sfx works * Some player buff icons draw
author Nomad
date Tue, 05 Mar 2013 16:14:22 +0200
parents 5196a51cc9ec
children f54481c85df8 7c0763248a87
comparison
equal deleted inserted replaced
568:6f7d936edc9b 569:f451efdb7c8b
4700 ++pTurnEngine->field_1C; 4700 ++pTurnEngine->field_1C;
4701 v188 += v732; 4701 v188 += v732;
4702 } 4702 }
4703 goto LABEL_1056; 4703 goto LABEL_1056;
4704 case 16: 4704 case 16:
4705 if ( pParty->uFlags & 8 ) 4705 if ( pParty->uFlags & PARTY_FLAGS_1_FALLING)
4706 { 4706 {
4707 v190 = pGlobalTXT_LocalizationStrings[493]; 4707 v190 = pGlobalTXT_LocalizationStrings[493]; // Can't cast Jump while airborne!
4708 goto LABEL_462; 4708 goto LABEL_462;
4709 } 4709 }
4710 if ( !pPlayer->CanCastSpell(uRequiredMana) ) 4710 if ( !pPlayer->CanCastSpell(uRequiredMana) )
4711 goto play_sound_and_continue; 4711 goto play_sound_and_continue;
4712 v191 = 0; 4712 v191 = 0;
4766 } 4766 }
4767 goto play_sound_and_continue; 4767 goto play_sound_and_continue;
4768 case 21: 4768 case 21:
4769 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor) 4769 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor)
4770 { 4770 {
4771 v190 = pGlobalTXT_LocalizationStrings[494]; 4771 v190 = pGlobalTXT_LocalizationStrings[494]; // Can not cast Fly indoors!
4772 LABEL_462: 4772 LABEL_462:
4773 ShowStatusBarString(v190, 2u); 4773 ShowStatusBarString(v190, 2u);
4774 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0); 4774 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0);
4775 goto play_sound_and_continue; 4775 goto play_sound_and_continue;
4776 } 4776 }