From 6a147d5ff759a9c2260719d2dcebe269e64b2e2d Mon Sep 17 00:00:00 2001 From: James Haley Date: Thu, 16 Sep 2010 02:08:28 +0000 Subject: Work on cheats and on teleportation effects. Subversion-branch: /branches/strife-branch Subversion-revision: 2091 --- src/strife/g_game.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/strife/g_game.c') diff --git a/src/strife/g_game.c b/src/strife/g_game.c index dd206210..a1a54f1c 100644 --- a/src/strife/g_game.c +++ b/src/strife/g_game.c @@ -1409,8 +1409,8 @@ extern char* pagename; void G_RiftExitLevel(int map, int spot, angle_t angle) { gameaction = ga_completed; - // STRIFE-TODO: special handling for post-Sigil map changes - /* + + // special handling for post-Sigil map changes if(players[0].weaponowned[wp_sigil]) { if(map == 3) // Front Base -> Abandoned Front Base @@ -1418,10 +1418,11 @@ void G_RiftExitLevel(int map, int spot, angle_t angle) if(map == 7) // Castle -> New Front Base map = 10; } - */ + // no rifting in deathmatch games if(deathmatch) spot = 0; + riftangle = angle; riftdest = spot; destmap = map; -- cgit v1.2.3