From: terencehill Date: Tue, 16 Apr 2019 18:03:14 +0000 (+0200) Subject: Adjust a debug message and a comment X-Git-Tag: xonotic-v0.8.5~1549 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ed9983431ada891d22e7dcd4a4260709da4ecec;p=xonotic%2Fxonotic-data.pk3dir.git Adjust a debug message and a comment --- diff --git a/qcsrc/common/weapons/weapon/shockwave.qc b/qcsrc/common/weapons/weapon/shockwave.qc index 7e60667e5..cdd0a0f92 100644 --- a/qcsrc/common/weapons/weapon/shockwave.qc +++ b/qcsrc/common/weapons/weapon/shockwave.qc @@ -658,7 +658,7 @@ void Draw_Shockwave(entity this) if(a < ALPHA_MIN_VISIBLE) { delete(this); } // WEAPONTODO: save this only once when creating the entity - vector sw_color = entcs_GetColor(this.sv_entnum - 1); // GetTeamRGB(entcs_GetTeam(this.sv_entnum)); + vector sw_color = entcs_GetColor(this.sv_entnum - 1); // Team_ColorRGB(entcs_GetTeam(this.sv_entnum)); // WEAPONTODO: trace to find what we actually hit vector endpos = (this.sw_shotorg + (this.sw_shotdir * this.sw_distance)); diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index 5553a6b87..d63e15878 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -1903,7 +1903,7 @@ void navigation_unstuck(entity this) { // evaluate the next goal on the queue float d = vlen2(this.origin - bot_waypoint_queue_goal.origin); - LOG_DEBUG(this.netname, " evaluating ", bot_waypoint_queue_goal.classname, " with distance ", ftos(d)); + LOG_DEBUG(this.netname, " evaluating ", bot_waypoint_queue_goal.classname, " with squared distance ", ftos(d)); set_tracewalk_dest(bot_waypoint_queue_goal, this.origin, false); if (tracewalk(this, this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), tracewalk_dest, tracewalk_dest_height, bot_navigation_movemode))