about summary refs log tree commit diff
path: root/src/game/gamecore.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 11:54:41 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 11:54:41 +0000
commit2aafe11723e8c30b0482bbefb4c1c9a25fba92b3 (patch)
treea8965cc00cf4db6a5dd62149caa61ef6498ed3ef /src/game/gamecore.cpp
parentc164ba3518f14cb939194c24ca308ec69bb5535e (diff)
downloadzcatch-2aafe11723e8c30b0482bbefb4c1c9a25fba92b3.tar.gz
zcatch-2aafe11723e8c30b0482bbefb4c1c9a25fba92b3.zip
tweaked the gameplay a bit
Diffstat (limited to 'src/game/gamecore.cpp')
-rw-r--r--src/game/gamecore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/gamecore.cpp b/src/game/gamecore.cpp
index 7818fa4b..66f0ee0a 100644
--- a/src/game/gamecore.cpp
+++ b/src/game/gamecore.cpp
@@ -397,9 +397,9 @@ void CHARACTER_CORE::tick(bool use_input)
 				
 		}
 
-		// release hook		
+		// release hook (max hook time is 1.25
 		hook_tick++;
-		if(hooked_player != -1 && (hook_tick > SERVER_TICK_SPEED*2 || !world->characters[hooked_player]))
+		if(hooked_player != -1 && (hook_tick > SERVER_TICK_SPEED+SERVER_TICK_SPEED/5 || !world->characters[hooked_player]))
 		{
 			hooked_player = -1;
 			hook_state = HOOK_RETRACTED;