summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-12 22:29:55 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-12 22:29:55 +0100
commitefaa4c026b60d52705b163f6886567793ef94123 (patch)
tree4481dc728aed73c935fe6e3a96a5995c549c4503 /src/game/units.cpp
parent2ea209cd523d9076a257ae9aacc3283930ee8f3b (diff)
Remove tracing test code.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp13
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);