diff options
Diffstat (limited to 'src/game/server/gs_server.cpp')
| -rw-r--r-- | src/game/server/gs_server.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp index 31b1975e..914fd8e1 100644 --- a/src/game/server/gs_server.cpp +++ b/src/game/server/gs_server.cpp @@ -1312,14 +1312,6 @@ void player::tick_defered() vec2 start_vel = core.vel; bool stuck_before = test_box(core.pos, vec2(28.0f, 28.0f)); - // TODO: this should be moved into the g_game - // but not done to preserve the nethash - if(length(core.vel) > 150.0f) - { - dbg_msg("server", "insane move! clamping (%f,%f) %f", core.vel.x, core.vel.y, length(core.vel)); - core.vel = normalize(core.vel) * 150.0f; - } - core.move(); bool stuck_after_move = test_box(core.pos, vec2(28.0f, 28.0f)); core.quantize(); |