about summary refs log tree commit diff
path: root/src/game/client/gc_hooks.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-20 15:19:30 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-20 15:19:30 +0000
commit805a74c1e4e487c1fabafc57858cd591e6dfed9d (patch)
treede66fae77a698b34420a8f24e4bd93ba69cf5274 /src/game/client/gc_hooks.cpp
parentf63bcc8673ddab0520faf34276dfa9141c609102 (diff)
downloadzcatch-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.cpp6
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();
 		}