about summary refs log tree commit diff
path: root/src/game/gamecore.cpp
diff options
context:
space:
mode:
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;