From 61a3223bd8463960d23e7e78d72f1fc9183010a0 Mon Sep 17 00:00:00 2001 From: qbix79 Date: Thu, 5 Jun 2008 14:39:13 +0000 Subject: [PATCH] Remove unneeded (and thus confusing) casts. git-svn-id: https://svn.eduke32.com/eduke32@768 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/actors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index 40606ec31..17ba9d9b1 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -548,7 +548,7 @@ void deletespriteEVENT(int s) if (apScriptGameEvent[EVENT_KILLIT]) { int p; - int pl=findplayer(&sprite[s],(int *)&p); + int pl=findplayer(&sprite[s],&p); SetGameVarID(g_iReturnVarID,0, -1, -1); OnEvent(EVENT_KILLIT, s, pl, p); if (GetGameVarID(g_iReturnVarID, -1, -1)) @@ -7592,7 +7592,7 @@ void moveobjects(void) { int pl; j = nextspritestat[i]; - pl=findplayer(&sprite[i],(int *)&p); + pl=findplayer(&sprite[i],&p); OnEvent(EVENT_GAME,i, pl, p); i = j; }