From 8418353ba2080aa28797ddee599852b52985d2e0 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 8 Feb 2008 09:29:41 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@615 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/sector.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/polymer/eduke32/source/sector.c b/polymer/eduke32/source/sector.c index 683e978d5..4dce0adac 100644 --- a/polymer/eduke32/source/sector.c +++ b/polymer/eduke32/source/sector.c @@ -3032,7 +3032,6 @@ CHECKINV1: if (p->holoduke_on == -1) { - SetGameVarID(g_iReturnVarID,0,g_player[snum].ps->i,snum); OnEvent(EVENT_HOLODUKEON,g_player[snum].ps->i,snum, -1); if (GetGameVarID(g_iReturnVarID,g_player[snum].ps->i,snum) == 0) @@ -3050,11 +3049,10 @@ CHECKINV1: SP = snum; sprite[i].extra = 0; FTA(47,p); + spritesound(TELEPORTER,p->holoduke_on); } else FTA(49,p); - spritesound(TELEPORTER,p->holoduke_on); } - } else {