From ecfdfa1f5483e5838900ecbaac12ead497e10d2d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 31 Dec 2012 17:56:27 +0100 Subject: [PATCH] bots: fix some bad uses of nextthink instead of bot_nextthink --- qcsrc/server/bot/bot.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/bot/bot.qc b/qcsrc/server/bot/bot.qc index 3e1cae313..bd23e8903 100644 --- a/qcsrc/server/bot/bot.qc +++ b/qcsrc/server/bot/bot.qc @@ -45,7 +45,7 @@ void bot_think() if (autocvar_g_campaign && !campaign_bots_may_start) { - self.nextthink = time + 0.5; + self.bot_nextthink = time + 0.5; return; } @@ -85,7 +85,7 @@ void bot_think() { // block the bot during the countdown to game start self.movement = '0 0 0'; - self.nextthink = game_starttime; + self.bot_nextthink = game_starttime; return; } @@ -393,7 +393,7 @@ void bot_clientconnect() self.bot_nextthink = time - random(); self.lag_func = bot_lagfunc; self.isbot = TRUE; - self.createdtime = self.nextthink; + self.createdtime = self.bot_nextthink; if(!self.bot_config_loaded) // This is needed so team overrider doesn't break between matches bot_setnameandstuff(); -- 2.39.2