summaryrefslogtreecommitdiff
path: root/src/strife/p_spec.c
diff options
context:
space:
mode:
authorJames Haley2010-08-25 03:05:19 +0000
committerJames Haley2010-08-25 03:05:19 +0000
commit8f24f63be140a34c9ac19463832bed0e7fabba67 (patch)
treef9329434390f661d4d0521f7064b0eb863d208eb /src/strife/p_spec.c
parent22200650762b044b2f55026b91a175716d2a73f2 (diff)
downloadchocolate-doom-8f24f63be140a34c9ac19463832bed0e7fabba67.tar.gz
chocolate-doom-8f24f63be140a34c9ac19463832bed0e7fabba67.tar.bz2
chocolate-doom-8f24f63be140a34c9ac19463832bed0e7fabba67.zip
Added riftSpots and fleshed out Strife level exit behavior as far as
setting of destmap, riftdest, and riftangle (previously unknown variable dword_9F138). Added functions G_RiftExitLevel, G_RiftPlayer, and G_RiftCheat. Removed G_WorldDone and secretexit variable. Subversion-branch: /branches/strife-branch Subversion-revision: 1967
Diffstat (limited to 'src/strife/p_spec.c')
-rw-r--r--src/strife/p_spec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index 13ac0c8a..46a459ea 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -694,7 +694,7 @@ P_CrossSpecialLine
case 52:
// EXIT!
- G_ExitLevel ();
+ G_ExitLevel (0);
break;
case 53:
@@ -1077,7 +1077,7 @@ void P_PlayerInSpecialSector (player_t* player)
P_DamageMobj (player->mo, NULL, NULL, 20);
if (player->health <= 10)
- G_ExitLevel();
+ G_ExitLevel(0);
break;
default:
@@ -1111,7 +1111,7 @@ void P_UpdateSpecials (void)
{
levelTimeCount--;
if (!levelTimeCount)
- G_ExitLevel();
+ G_ExitLevel(0);
}
// ANIMATE FLATS AND TEXTURES GLOBALLY