git-svn-id: https://svn.eduke32.com/eduke32@615 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-02-08 09:29:41 +00:00
parent d7d11939a6
commit 8418353ba2

View file

@ -3032,7 +3032,6 @@ CHECKINV1:
if (p->holoduke_on == -1) if (p->holoduke_on == -1)
{ {
SetGameVarID(g_iReturnVarID,0,g_player[snum].ps->i,snum); SetGameVarID(g_iReturnVarID,0,g_player[snum].ps->i,snum);
OnEvent(EVENT_HOLODUKEON,g_player[snum].ps->i,snum, -1); OnEvent(EVENT_HOLODUKEON,g_player[snum].ps->i,snum, -1);
if (GetGameVarID(g_iReturnVarID,g_player[snum].ps->i,snum) == 0) if (GetGameVarID(g_iReturnVarID,g_player[snum].ps->i,snum) == 0)
@ -3050,11 +3049,10 @@ CHECKINV1:
SP = snum; SP = snum;
sprite[i].extra = 0; sprite[i].extra = 0;
FTA(47,p); FTA(47,p);
spritesound(TELEPORTER,p->holoduke_on);
} }
else FTA(49,p); else FTA(49,p);
spritesound(TELEPORTER,p->holoduke_on);
} }
} }
else else
{ {