From 461a28bb608e117267431eac78b08d3d8a089c0c Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 15:34:29 +0100 Subject: do not pass a pointer to standard type when a copy is possible Signed-off-by: Olivier Gayot --- magies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'magies.c') 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; -- cgit v1.2.3