diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 19:36:36 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 19:36:36 +0200 |
commit | 1b13c257a9759f0a40c79f0acd3a07bc079df120 (patch) | |
tree | 6e0f89dc3ac5fb478c2761d95da074c6bb3f844d | |
parent | 6aa69fe49ab81eb128471265c0329c24a27a3ae4 (diff) |
Fix missile explosions not showing up.
-rw-r--r-- | src/game/g_missile.c | 2 |
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 |