From 0fc473eda005dc817f81a41b414b6955de1a1d98 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 10 Dec 2007 21:14:45 +0000 Subject: [PATCH] fixed ninjabug --- src/game/server/game_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp index c146d5c40..feed1af6d 100644 --- a/src/game/server/game_server.cpp +++ b/src/game/server/game_server.cpp @@ -557,6 +557,7 @@ int player::handle_ninja() if ((server_tick() - ninjaactivationtick) > (data->weapons[WEAPON_NINJA].duration * server_tickspeed() / 1000)) { // time's up, return + weapons[WEAPON_NINJA].got = false; active_weapon = last_weapon; set_weapon(active_weapon); return 0;