From: terencehill Date: Tue, 2 Mar 2021 15:39:49 +0000 (+0100) Subject: wpeditor unreachable: properly show player models at spawnopoints that aren't linked... X-Git-Tag: xonotic-v0.8.5~536 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=db89c6ac0d7d283a8e4e5cfe31d6a003921f90ee;p=xonotic%2Fxonotic-data.pk3dir.git wpeditor unreachable: properly show player models at spawnopoints that aren't linked to any waypoint --- 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++; }