diff options
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r-- | src/game/units.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index 268425d..7dc2d84 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -150,19 +150,6 @@ void human_t::render_to(render::state_t *render) render->render(&assets::human.body_idle, render_bounds, move.angle); render->render(&assets::human.head_idle, render_bounds, move.angle); - { - v2f_t x1; - static float t = 0; - world::trace_t trace; - - t += 0.02f; - - x1[0] = x[0] + cos(t) * 5; - x1[1] = x[1] + sin(t) * 5; - trace = world->trace(x, x1, 1); - render->render_arrow(x, trace.end, sf::Color::Green); - } - if (move.moving && debug_draw_paths) render->debug_path(&move.path); |