]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
be more detailed in complaints
authorRudolf Polzer <divverent@alientrap.org>
Thu, 19 Jan 2012 18:39:48 +0000 (19:39 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 19 Jan 2012 18:39:48 +0000 (19:39 +0100)
qcsrc/server/bot/scripting.qc

index 2fdbdd3f4fe8c0a1a7ea237ec1725cf3d1459c72..b0bda40e6487a3203e90d1b3ba2aa4e42c668cdb 100644 (file)
@@ -1106,7 +1106,7 @@ float bot_cmd_debug_assert_canfire()
                if(f)
                {
                        self.colormod = '0 8 8';
-                       print("Bot wants to fire, inhibited by weaponentity state\n");
+                       print("Bot ", self.netname, " using ", self.weaponname, " wants to fire, inhibited by weaponentity state\n");
                }
        }
        else if(ATTACK_FINISHED(self) > time)
@@ -1114,7 +1114,7 @@ float bot_cmd_debug_assert_canfire()
                if(f)
                {
                        self.colormod = '8 0 8';
-                       print("Bot wants to fire, inhibited by ATTACK_FINISHED\n");
+                       print("Bot ", self.netname, " using ", self.weaponname, " wants to fire, inhibited by ATTACK_FINISHED\n");
                }
        }
        else if(self.tuba_note)
@@ -1122,7 +1122,7 @@ float bot_cmd_debug_assert_canfire()
                if(f)
                {
                        self.colormod = '8 0 0';
-                       print("Bot wants to fire, bot still has an active tuba note\n");
+                       print("Bot ", self.netname, " using ", self.weaponname, " wants to fire, bot still has an active tuba note\n");
                }
        }
        else
@@ -1130,7 +1130,7 @@ float bot_cmd_debug_assert_canfire()
                if(!f)
                {
                        self.colormod = '8 8 0';
-                       print("Bot thinks it has fired, but apparently did not\n");
+                       print("Bot ", self.netname, " using ", self.weaponname, " thinks it has fired, but apparently did not\n");
                }
        }