From 8f24f63be140a34c9ac19463832bed0e7fabba67 Mon Sep 17 00:00:00 2001 From: James Haley Date: Wed, 25 Aug 2010 03:05:19 +0000 Subject: 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 --- src/strife/p_spec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/strife/p_spec.c') 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 -- cgit v1.2.3