diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-20 15:19:30 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-20 15:19:30 +0000 |
| commit | 805a74c1e4e487c1fabafc57858cd591e6dfed9d (patch) | |
| tree | de66fae77a698b34420a8f24e4bd93ba69cf5274 /src/game/client/gc_hooks.cpp | |
| parent | f63bcc8673ddab0520faf34276dfa9141c609102 (diff) | |
| download | zcatch-805a74c1e4e487c1fabafc57858cd591e6dfed9d.tar.gz zcatch-805a74c1e4e487c1fabafc57858cd591e6dfed9d.zip | |
fixed collision bug with player <-> player
Diffstat (limited to 'src/game/client/gc_hooks.cpp')
| -rw-r--r-- | src/game/client/gc_hooks.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/client/gc_hooks.cpp b/src/game/client/gc_hooks.cpp index a320498b..ca425059 100644 --- a/src/game/client/gc_hooks.cpp +++ b/src/game/client/gc_hooks.cpp @@ -164,12 +164,6 @@ extern "C" void modc_predict() if(!world.players[c]) continue; - - // TODO: this should be moved into the g_game - // but not done to preserve the nethash - if(length(world.players[c]->vel) > 150.0f) - world.players[c]->vel = normalize(world.players[c]->vel) * 150.0f; - world.players[c]->move(); world.players[c]->quantize(); } |