From: Martin Taibr Date: Thu, 13 Oct 2016 19:22:44 +0000 (+0200) Subject: more unused X-Git-Tag: xonotic-v0.8.2~488^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0f5b889f8d18734824534a3a1701a3b2b52d7077;p=xonotic%2Fxonotic-data.pk3dir.git more unused --- diff --git a/qcsrc/server/bot/default/scripting.qc b/qcsrc/server/bot/default/scripting.qc index e8355575e..9f29a2217 100644 --- a/qcsrc/server/bot/default/scripting.qc +++ b/qcsrc/server/bot/default/scripting.qc @@ -1106,7 +1106,6 @@ void bot_setcurrentcommand(entity this) if(!this.bot_cmd_current) { this.bot_cmd_current = new_pure(bot_cmd); - this.bot_cmd_current.is_bot_cmd = true; } bot_cmd = this.bot_cmd_current; diff --git a/qcsrc/server/bot/default/scripting.qh b/qcsrc/server/bot/default/scripting.qh index cb6cd8731..b3f0e90fa 100644 --- a/qcsrc/server/bot/default/scripting.qh +++ b/qcsrc/server/bot/default/scripting.qh @@ -59,7 +59,6 @@ string bot_cmd_string[BOT_CMD_COUNTER]; entity bot_cmd; // global current command .entity bot_cmd_current; // current command of this bot -.float is_bot_cmd; // Tells if the entity is a bot command .float bot_cmd_index; // Position of the command in the queue .int bot_cmd_type; // If of command (see the BOT_CMD_* defines) .float bot_cmd_parm_float; // Field to store a float parameter diff --git a/qcsrc/server/pathlib/main.qc b/qcsrc/server/pathlib/main.qc index abf7f7152..044d64443 100644 --- a/qcsrc/server/pathlib/main.qc +++ b/qcsrc/server/pathlib/main.qc @@ -55,7 +55,6 @@ entity pathlib_mknode(vector where,entity parent) setsize(node, '0 0 0', '0 0 0'); setorigin(node, where); - node.medium = pointcontents(where); #if DEBUGPATHING pathlib_showsquare(where, 1 ,15); #endif diff --git a/qcsrc/server/pathlib/pathlib.qh b/qcsrc/server/pathlib/pathlib.qh index 4ae0c2c86..028a2c7e6 100644 --- a/qcsrc/server/pathlib/pathlib.qh +++ b/qcsrc/server/pathlib/pathlib.qh @@ -9,7 +9,6 @@ .entity path_prev; #define inwater(point) (pointcontents(point) == CONTENT_WATER) -.int medium; const vector PLIB_FORWARD = '0 1 0'; //#define PLIB_BACK '0 -1 0'