From 2aafe11723e8c30b0482bbefb4c1c9a25fba92b3 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 11 Jan 2009 11:54:41 +0000 Subject: tweaked the gameplay a bit --- src/game/gamecore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/gamecore.cpp') 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; -- cgit 1.4.1