X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fscripting.qc;h=e540a438d55f07e88cccb96126ed3830290d46bd;hb=7c45ce8743d3e5b6cbcddce737d5c944dd93ad95;hp=ef25a958d21f8908545ad4c51ba32dfb11754818;hpb=d7a834f0cfbf327e001d53f09c7ddfe2e2783955;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/scripting.qc b/qcsrc/server/bot/scripting.qc index ef25a958d..e540a438d 100644 --- a/qcsrc/server/bot/scripting.qc +++ b/qcsrc/server/bot/scripting.qc @@ -63,8 +63,8 @@ float bot_havecommand(entity bot, float idx) #define MAX_BOT_PLACES 4 .float bot_places_count; -.entity bot_places[MAX_BOT_PLACES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(bot_places); -.string bot_placenames[MAX_BOT_PLACES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(bot_placenames); +.entity bot_places[MAX_BOT_PLACES]; +.string bot_placenames[MAX_BOT_PLACES]; entity bot_getplace(string placename) { entity e; @@ -1061,7 +1061,7 @@ float bot_cmd_sound() f = bot_cmd.bot_cmd_parm_string; precache_sound(f); - sound(self, CHAN_WEAPON2, f, VOL_BASE, ATTN_MIN); + sound(self, CH_WEAPON_B, f, VOL_BASE, ATTN_MIN); return CMD_STATUS_FINISHED; }