diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/unit_soldier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/unit_soldier.cpp b/src/game/unit_soldier.cpp index a10e014..31def92 100644 --- a/src/game/unit_soldier.cpp +++ b/src/game/unit_soldier.cpp @@ -89,7 +89,7 @@ void unit_soldier_t::shoot(v2f_t from, v2f_t at, int damage) ent->damage(damage, this); } - tracer = new fx_tracer_t(game, from, at); + tracer = new fx_tracer_t(game, from, trace.end); tracer->place(&game->world); if (trace.hit && (!trace.ent || trace.ent->type == ET_UNIT)) { |