mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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:
parent
3e7abf87f4
commit
61a3223bd8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue