summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-11-07 07:22:28 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:18 +0000
commita7a3fc060305afb6ad1737edf141713e6e618596 (patch)
treeaeec2e0b5612abaa561bd33f2978c42acf4e9b1c /src/game
parentf5a27415ca17d0ff1fc4f9285725bcf7f3715586 (diff)
* Prevent projectiles from hitting map triggers (Roman Tetelman)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_missile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index 677b959e..6ec7f5b9 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -286,8 +286,7 @@ void G_RunMissile( gentity_t *ent )
}
else
{
- if( tr.contents & CONTENTS_BODY ||
- ( tr.entityNum >= 0 && tr.entityNum != ENTITYNUM_WORLD ) )
+ if( tr.contents & CONTENTS_BODY )
{
// Hit an entity
impact = qtrue;