summaryrefslogtreecommitdiff
path: root/magies.c
diff options
context:
space:
mode:
Diffstat (limited to 'magies.c')
-rw-r--r--magies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/magies.c b/magies.c
index 2de216e..a52e8b4 100644
--- a/magies.c
+++ b/magies.c
@@ -45,7 +45,7 @@ int Fmagieelement (SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],
case SDLK_RETURN:
case SDLK_f:
continuer=0;
- max=Fcalculerdegats(persos,Vtourallie,&min,ennemis,selection,clan,TYPE_MAGIE);
+ max=Fcalculerdegats(persos, *Vtourallie,&min,ennemis,selection,clan,TYPE_MAGIE);
degats=(rand()%(max-min+1))+min;
if(degats<0)
degats=0;