From: Rudolf Polzer Date: Thu, 19 Jan 2012 19:00:15 +0000 (+0100) Subject: even more verbose on bot script timing errors X-Git-Tag: xonotic-v0.6.0~111^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ed10b6c9cd53887f916a217e480f79b53905b6b;p=xonotic%2Fxonotic-data.pk3dir.git even more verbose on bot script timing errors --- diff --git a/qcsrc/server/bot/scripting.qc b/qcsrc/server/bot/scripting.qc index b0bda40e6..63a6cb336 100644 --- a/qcsrc/server/bot/scripting.qc +++ b/qcsrc/server/bot/scripting.qc @@ -1114,7 +1114,7 @@ float bot_cmd_debug_assert_canfire() if(f) { self.colormod = '8 0 8'; - print("Bot ", self.netname, " using ", self.weaponname, " wants to fire, inhibited by ATTACK_FINISHED\n"); + print("Bot ", self.netname, " using ", self.weaponname, " wants to fire, inhibited by ATTACK_FINISHED (", ftos(ATTACK_FINISHED(self) - time), " seconds left)\n"); } } else if(self.tuba_note) @@ -1130,7 +1130,7 @@ float bot_cmd_debug_assert_canfire() if(!f) { self.colormod = '8 8 0'; - print("Bot ", self.netname, " using ", self.weaponname, " thinks it has fired, but apparently did not\n"); + print("Bot ", self.netname, " using ", self.weaponname, " thinks it has fired, but apparently did not; ATTACK_FINISHED says ", ftos(ATTACK_FINISHED(self) - time), " seconds left\n"); } }