]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/scripting.qc
Cleanup server mutator #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / scripting.qc
index 8b2f9e6d1e8384bfa4af6d227a94e8f30db38173..e111b2ab4f043f5174b270b5090f6190a3dfb5c1 100644 (file)
@@ -20,7 +20,7 @@ void bot_clearqueue(entity bot)
                return;
        buf_del(bot.bot_cmdqueuebuf);
        bot.bot_cmdqueuebuf_allocated = false;
-       LOG_TRACE("bot ", bot.netname, " queue cleared\n");
+       LOG_TRACE("bot ", bot.netname, " queue cleared");
 }
 
 void bot_queuecommand(entity bot, string cmdstring)
@@ -1058,7 +1058,7 @@ float bot_cmd_debug_assert_canfire(entity this)
 {
        float f = bot_cmd.bot_cmd_parm_float;
 
-       int slot = 0;
+       int slot = 0; // TODO: unhardcode?
        .entity weaponentity = weaponentities[slot];
        if(this.(weaponentity).state != WS_READY)
        {