]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
more unused
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 13 Oct 2016 19:22:44 +0000 (21:22 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 13 Oct 2016 19:22:44 +0000 (21:22 +0200)
qcsrc/server/bot/default/scripting.qc
qcsrc/server/bot/default/scripting.qh
qcsrc/server/pathlib/main.qc
qcsrc/server/pathlib/pathlib.qh

index e8355575edae23ef274bd8ddeb089068a2dc664a..9f29a22176264e9e507c24da84854fd67e90c486 100644 (file)
@@ -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;
index cb6cd8731daab16ad2d43147a5c64ad0f5f3f71e..b3f0e90fa38d3129b9d94a94e8381967fe4178af 100644 (file)
@@ -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
index abf7f71523c12146ad8b5422fe417a4d6048cd90..044d6444347d5f93929daa74ffe832da4f1590f1 100644 (file)
@@ -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
index 4ae0c2c86d4b5f0f2970cf9fdcda76393dfb84bc..028a2c7e6e5b26eb9b01650327ab8b153bc5617e 100644 (file)
@@ -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'