Remove unneeded (and thus confusing) casts.

git-svn-id: https://svn.eduke32.com/eduke32@768 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
qbix79 2008-06-05 14:39:13 +00:00
parent 3e7abf87f4
commit 61a3223bd8

View file

@ -548,7 +548,7 @@ void deletespriteEVENT(int s)
if (apScriptGameEvent[EVENT_KILLIT]) if (apScriptGameEvent[EVENT_KILLIT])
{ {
int p; int p;
int pl=findplayer(&sprite[s],(int *)&p); int pl=findplayer(&sprite[s],&p);
SetGameVarID(g_iReturnVarID,0, -1, -1); SetGameVarID(g_iReturnVarID,0, -1, -1);
OnEvent(EVENT_KILLIT, s, pl, p); OnEvent(EVENT_KILLIT, s, pl, p);
if (GetGameVarID(g_iReturnVarID, -1, -1)) if (GetGameVarID(g_iReturnVarID, -1, -1))
@ -7592,7 +7592,7 @@ void moveobjects(void)
{ {
int pl; int pl;
j = nextspritestat[i]; j = nextspritestat[i];
pl=findplayer(&sprite[i],(int *)&p); pl=findplayer(&sprite[i],&p);
OnEvent(EVENT_GAME,i, pl, p); OnEvent(EVENT_GAME,i, pl, p);
i = j; i = j;
} }