Mercurial > mm7
diff mm7_5.cpp @ 370:7f817679b60e
_42777D_CastSpell_UseWand_ShootArrow
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 17:47:41 +0200 |
parents | 0f35f908547f |
children | d1d1e1daa7f7 |
line wrap: on
line diff
--- a/mm7_5.cpp Fri Feb 22 01:36:54 2013 +0200 +++ b/mm7_5.cpp Fri Feb 22 17:47:41 2013 +0200 @@ -2970,7 +2970,7 @@ //_set_status_string_pTmpBuf_and_continue: sub_41C0B8_set_status_string(pTmpBuf); continue; - case UIMSG_4F: + case UIMSG_SPellbook_ShowHightlightedSpellInfo: if ( !uActiveCharacter || (uNumSeconds = (unsigned int)pPlayers[uActiveCharacter], !*(char *)(uNumSeconds + 11 * *(char *)(uNumSeconds + 6734) + uMessageParam + 402)) ) continue; @@ -3124,17 +3124,12 @@ } } continue; - case UIMSG_8E: - if ( pTurnEngine->field_4 == 3 ) - continue; - v175 = 0; - v159 = 0; - v147 = 0; - //goto LABEL_678; - v80 = v199; - v79 = uMessageParam; - _42777D_CastSpell_UseWand_ShootArrow(v79, v80, v147, v159, v175); - continue; + + case UIMSG_CastSpellFromBook: + if ( pTurnEngine->field_4 != 3 ) + _42777D_CastSpell_UseWand_ShootArrow(uMessageParam, v199, 0, 0, 0); + continue; + case UIMSG_92: if ( pTurnEngine->field_4 != 3 ) {