summaryrefslogtreecommitdiff
path: root/src/strife/p_map.c
diff options
context:
space:
mode:
authorJames Haley2010-09-24 02:12:18 +0000
committerJames Haley2010-09-24 02:12:18 +0000
commitfd43740b94137503a58bc4819a83c616ad660c0d (patch)
tree30854143865788166fae35ba6eb8f66e658109ca /src/strife/p_map.c
parentd57be3f239cc500bb600c6b9f932ae742dc2b8c7 (diff)
downloadchocolate-doom-fd43740b94137503a58bc4819a83c616ad660c0d.tar.gz
chocolate-doom-fd43740b94137503a58bc4819a83c616ad660c0d.tar.bz2
chocolate-doom-fd43740b94137503a58bc4819a83c616ad660c0d.zip
Implementation of teleflags for EV_Teleport. Fix to somewhat serious bug
that let 0-damage tracers pass through walls. Other changes are only comments or formatting. Subversion-branch: /branches/strife-branch Subversion-revision: 2132
Diffstat (limited to 'src/strife/p_map.c')
-rw-r--r--src/strife/p_map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strife/p_map.c b/src/strife/p_map.c
index e4b00eac..44f12689 100644
--- a/src/strife/p_map.c
+++ b/src/strife/p_map.c
@@ -1140,10 +1140,10 @@ hitline:
P_SpawnPuff(x, y, z); // Spawn bullet puffs.
else
P_SpawnMobj(x, y, z, MT_STRIFEPUFF3);
-
- // don't go any farther
- return false;
}
+
+ // don't go any farther
+ return false;
}
// shoot a thing