From db89c6ac0d7d283a8e4e5cfe31d6a003921f90ee Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 2 Mar 2021 16:39:49 +0100 Subject: [PATCH] wpeditor unreachable: properly show player models at spawnopoints that aren't linked to any waypoint --- qcsrc/server/bot/default/waypoints.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index 12bf39fa0..cd74ae544 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -88,11 +88,11 @@ void waypoint_unreachable(entity pl) LOG_INFO("spawn without waypoint: ", etos(it), " ", vtos(it.origin), "\n"); it.spawnpointmodel.effects |= EF_NODEPTHTEST; _setmodel(it.spawnpointmodel, pl.model); - it.spawnpointmodel.frame = pl.frame; + it.spawnpointmodel.frame = ANIM_idle.m_id; it.spawnpointmodel.skin = pl.skin; - it.spawnpointmodel.colormap = pl.colormap; - it.spawnpointmodel.colormod = pl.colormod; - it.spawnpointmodel.glowmod = pl.glowmod; + it.spawnpointmodel.colormap = 1024 + 68; + it.spawnpointmodel.glowmod = '1 0 0'; + it.spawnpointmodel.angles = it.angles; setsize(it.spawnpointmodel, PL_MIN_CONST, PL_MAX_CONST); j++; } -- 2.39.2