summaryrefslogtreecommitdiff
path: root/src/strife/g_game.c
diff options
context:
space:
mode:
authorJames Haley2010-09-16 02:08:28 +0000
committerJames Haley2010-09-16 02:08:28 +0000
commit6a147d5ff759a9c2260719d2dcebe269e64b2e2d (patch)
tree8143e76addd00fff667d588af6770c2a4cc49fdc /src/strife/g_game.c
parente93890502ea653c49f358dfb79008e47310c464c (diff)
downloadchocolate-doom-6a147d5ff759a9c2260719d2dcebe269e64b2e2d.tar.gz
chocolate-doom-6a147d5ff759a9c2260719d2dcebe269e64b2e2d.tar.bz2
chocolate-doom-6a147d5ff759a9c2260719d2dcebe269e64b2e2d.zip
Work on cheats and on teleportation effects.
Subversion-branch: /branches/strife-branch Subversion-revision: 2091
Diffstat (limited to 'src/strife/g_game.c')
-rw-r--r--src/strife/g_game.c7
1 files changed, 4 insertions, 3 deletions
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;