Mercurial > mm7
diff mm7_3.cpp @ 1070:944e8d715a3e
previous mistake in ODM_ProcessPartyActions fixed
author | zipi |
---|---|
date | Fri, 24 May 2013 20:33:37 +0100 |
parents | e23a79658fc5 |
children | 48168499f52e |
line wrap: on
line diff
--- a/mm7_3.cpp Fri May 24 19:55:34 2013 +0100 +++ b/mm7_3.cpp Fri May 24 20:33:37 2013 +0100 @@ -2721,20 +2721,23 @@ v34 = v121; //LABEL_164: - if ( !bUnderwater && v34 <= 0 && bJumping) - { - if ( v34 < -500 - && !pParty->bFlying - && pParty->vPosition.z - v111 > 1000 - && !pParty->FeatherFallActive()) - { // falling scream - for (int i = 0; i < 4; ++i) - { - auto player = pParty->pPlayers + i; - if (!player->HasEnchantedItemEquipped(72) && !player->WearsItem(529, 8) && player->CanAct()) - player->PlaySound(SPEECH_66, 0); - } - } + if(bJumping) + { + if ( !bUnderwater && v34 <= 0) + { + if ( v34 < -500 + && !pParty->bFlying + && pParty->vPosition.z - v111 > 1000 + && !pParty->FeatherFallActive()) + { // falling scream + for (int i = 0; i < 4; ++i) + { + auto player = pParty->pPlayers + i; + if (!player->HasEnchantedItemEquipped(72) && !player->WearsItem(529, 8) && player->CanAct()) + player->PlaySound(SPEECH_66, 0); + } + } + } } else {