Mercurial > mm7
changeset 1070:944e8d715a3e
previous mistake in ODM_ProcessPartyActions fixed
author | zipi |
---|---|
date | Fri, 24 May 2013 20:33:37 +0100 |
parents | e32e2287d491 |
children | a7e63532b9a8 |
files | mm7_3.cpp |
diffstat | 1 files changed, 17 insertions(+), 14 deletions(-) [+] |
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 {