diff options
Diffstat (limited to 'magies.c')
-rw-r--r-- | magies.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,8 +53,8 @@ enum action_state_t Fmagieelement (SURFACES *surfaces,POSITIONS *positions, stru degats = compute_damages(&ally->chrs[ally->chr_cur], target, DAMAGES_MAGICAL, element); - damage_target_hp(surfaces, target, degats); + damage_target_hp(surfaces, positions, target, degats); SDL_Flip(surfaces->Pecran); ret = ACTION_PERFORMED; @@ -121,7 +121,7 @@ enum action_state_t Fmagiesoin(SURFACES *surfaces,POSITIONS *positions, struct t soins = compute_cure(&ally->chrs[ally->chr_cur], target); - cure_target_hp(surfaces, target, soins); + cure_target_hp(surfaces, positions, target, soins); SDL_Flip (surfaces->Pecran); |