From eb227232a37887e42d0e92dc6f686b01c7dc04e5 Mon Sep 17 00:00:00 2001 From: div0 Date: Fri, 12 Jun 2009 08:21:27 +0000 Subject: [PATCH] remove debug code from barrier (making bots yellow while in one) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@6998 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/bots_scripting.qc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data/qcsrc/server/bots_scripting.qc b/data/qcsrc/server/bots_scripting.qc index ac13cf18c..8def94231 100755 --- a/data/qcsrc/server/bots_scripting.qc +++ b/data/qcsrc/server/bots_scripting.qc @@ -342,6 +342,9 @@ void bot_cmdhelp(string scmd) case BOT_CMD_WAIT_UNTIL: print("Pause command parsing and bot ai until time is N from the last barrier. Pressed key will remain pressed"); break; + case BOT_CMD_BARRIER: + print("Waits till all bots reach this command. Pressed key will remain pressed"); + break; case BOT_CMD_TURN: print("Look to the right or left N degrees. For turning to the left use positive numbers."); break; @@ -502,7 +505,7 @@ float bot_cmd_barrier() { self.bot_barrier = 1; - self.colormod = '4 4 0'; + //self.colormod = '4 4 0'; } if(self.bot_barrier == 1) // find other bots @@ -525,7 +528,7 @@ float bot_cmd_barrier() // if we get here, the barrier is finished // so end it... self.bot_barrier = 0; - self.colormod = '0 0 0'; + //self.colormod = '0 0 0'; return CMD_STATUS_FINISHED; } -- 2.39.2