From 19e3f528f80cb72025e2d8699a39857955abf46a Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Thu, 13 Oct 2022 22:19:53 +1000 Subject: [PATCH] func_plat: fix being stuck in the extended position when .targetname is set on Q3 maps --- qcsrc/common/mapobjects/platforms.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mapobjects/platforms.qc b/qcsrc/common/mapobjects/platforms.qc index 28b420b20..277384533 100644 --- a/qcsrc/common/mapobjects/platforms.qc +++ b/qcsrc/common/mapobjects/platforms.qc @@ -179,7 +179,7 @@ void plat_use(entity this, entity actor, entity trigger) void plat_reset(entity this) { - if(this.targetname && this.targetname != "") + if(this.targetname && this.targetname != "" && !Q3COMPAT_COMMON) { setorigin(this, this.pos1); this.state = STATE_UP; -- 2.39.2