Xonotic
scripting.qh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void bot_clearqueue (entity bot)
 

Function Documentation

◆ bot_clearqueue()

void bot_clearqueue ( entity  bot)

Definition at line 21 of file scripting.qc.

References LOG_TRACE.

Referenced by bot_clientdisconnect(), bot_cmd_if(), and bot_dequeuecommand().

22 {
23  if(!bot.bot_cmdqueuebuf_allocated)
24  return;
25  buf_del(bot.bot_cmdqueuebuf);
26  bot.bot_cmdqueuebuf_allocated = false;
27  LOG_TRACE("bot ", bot.netname, " queue cleared");
28 }
#define LOG_TRACE(...)
Definition: log.qh:81
+ Here is the caller graph for this function: