mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@607 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cd085abf8d
commit
a1f0b9aff2
1 changed files with 3 additions and 1 deletions
|
@ -558,8 +558,10 @@ int ssp(int i,unsigned int cliptype) //The set sprite function
|
|||
#undef deletesprite
|
||||
void deletespriteEVENT(int s)
|
||||
{
|
||||
int p;
|
||||
|
||||
SetGameVarID(g_iReturnVarID,0, -1, -1);
|
||||
OnEvent(EVENT_KILLIT, s, -1, -1);
|
||||
OnEvent(EVENT_KILLIT, s, findplayer(&sprite[s],(int *)&p), p);
|
||||
if (!GetGameVarID(g_iReturnVarID, -1, -1))deletesprite(s);
|
||||
}
|
||||
#define deletesprite deletespriteEVENT
|
||||
|
|
Loading…
Reference in a new issue