From c2c90982fd2c9b1d0f804872da3496d1c76d9c5e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 11 Jan 2009 13:54:42 +0000 Subject: increased the firedelay on the gun and hammer to 125ms. this is how fast a humanly doable. prevents usage of mouse wheel to get insane firing speeds --- src/game/server/entities/character.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/server/entities') diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index dba07ee7..3714bf08 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -275,6 +275,8 @@ void CHARACTER::fire_weapon() // check for ammo if(!weapons[active_weapon].ammo) { + // 125ms is a magical limit of how fast a human can click + reload_timer = 125 * server_tickspeed() / 1000;; game.create_sound(pos, SOUND_WEAPON_NOAMMO); return; } -- cgit 1.4.1