diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/units.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index d03ce76..236470f 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -301,12 +301,11 @@ void human_t::think(void) world::trace_t trace; fx_tracer_t *tracer; - tracer = new fx_tracer_t(game, x, target->x); - game->add_effect(tracer); - std::cout << tracer->cmodel.bounds << std::endl; - trace = world->trace(x, target->x, CF_SOLID); if (!trace.hit) { + tracer = new fx_tracer_t(game, x, target->x); + game->add_effect(tracer); + last_attack = game->now; try_attack(target); } |