Mercurial > mm7
comparison mm7_6.cpp @ 1100:b82375804b5d
arrow damage fixed
author | zipi |
---|---|
date | Mon, 27 May 2013 11:19:14 +0100 |
parents | 8b59f13c9c3e |
children | 79010db96ade |
comparison
equal
deleted
inserted
replaced
1099:94aff285558e | 1100:b82375804b5d |
---|---|
2840 pSpellSprite.spell_target_pid = a2; | 2840 pSpellSprite.spell_target_pid = a2; |
2841 pSpellSprite.field_60_distance_related_prolly_lod = LOBYTE(v715.uDistance); | 2841 pSpellSprite.field_60_distance_related_prolly_lod = LOBYTE(v715.uDistance); |
2842 pSpellSprite.uFacing = LOWORD(v715.uYawAngle); | 2842 pSpellSprite.uFacing = LOWORD(v715.uYawAngle); |
2843 pSpellSprite.uSoundID = LOWORD(pCastSpell->sound_id); | 2843 pSpellSprite.uSoundID = LOWORD(pCastSpell->sound_id); |
2844 pPlayer = &pParty->pPlayers[pCastSpell->uPlayerID]; | 2844 pPlayer = &pParty->pPlayers[pCastSpell->uPlayerID]; |
2845 memcpy(&pSpellSprite.stru_24, &pPlayer[pPlayer->pEquipment.uBow], sizeof(pSpellSprite.stru_24)); | 2845 memcpy(&pSpellSprite.stru_24, &pPlayer->pInventoryItems[pPlayer->pEquipment.uBow-1], sizeof(pSpellSprite.stru_24)); |
2846 pSpellSprite.uAttributes = 256; | 2846 pSpellSprite.uAttributes = 256; |
2847 if ( pParty->bTurnBasedModeOn == 1 ) | 2847 if ( pParty->bTurnBasedModeOn == 1 ) |
2848 pSpellSprite.uAttributes = 260; | 2848 pSpellSprite.uAttributes = 260; |
2849 for ( i = 0; i < amount; ++i ) | 2849 for ( i = 0; i < amount; ++i ) |
2850 { | 2850 { |