Mercurial > mm7
changeset 1100:b82375804b5d
arrow damage fixed
author | zipi |
---|---|
date | Mon, 27 May 2013 11:19:14 +0100 |
parents | 94aff285558e |
children | 3e5d70cfe20e |
files | mm7_6.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mm7_6.cpp Mon May 27 00:46:26 2013 +0200 +++ b/mm7_6.cpp Mon May 27 11:19:14 2013 +0100 @@ -2842,7 +2842,7 @@ pSpellSprite.uFacing = LOWORD(v715.uYawAngle); pSpellSprite.uSoundID = LOWORD(pCastSpell->sound_id); pPlayer = &pParty->pPlayers[pCastSpell->uPlayerID]; - memcpy(&pSpellSprite.stru_24, &pPlayer[pPlayer->pEquipment.uBow], sizeof(pSpellSprite.stru_24)); + memcpy(&pSpellSprite.stru_24, &pPlayer->pInventoryItems[pPlayer->pEquipment.uBow-1], sizeof(pSpellSprite.stru_24)); pSpellSprite.uAttributes = 256; if ( pParty->bTurnBasedModeOn == 1 ) pSpellSprite.uAttributes = 260;