summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-22 19:36:36 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-22 19:36:36 +0200
commit1b13c257a9759f0a40c79f0acd3a07bc079df120 (patch)
tree6e0f89dc3ac5fb478c2761d95da074c6bb3f844d
parent6aa69fe49ab81eb128471265c0329c24a27a3ae4 (diff)
Fix missile explosions not showing up.
-rw-r--r--src/game/g_missile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index 164f49f..1894f94 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -101,6 +101,8 @@ void G_ExplodeMissile( gentity_t *ent )
ent->s.eType = ET_GENERAL;
+ G_AddEvent( ent, EV_MISSILE_MISS, DirToByte( dir ) );
+
ent->freeAfterEvent = qtrue;
// splash damage