# HG changeset patch # User zipi # Date 1369649954 -3600 # Node ID b82375804b5d0ff651f685df7143302101283c05 # Parent 94aff285558eb694b73b0debc3d213f94a583dae arrow damage fixed diff -r 94aff285558e -r b82375804b5d mm7_6.cpp --- 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;