From 34e7c7d4acebd279f49a5ca7f65c86b9ee7f9e6f Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 15 Sep 2023 16:45:13 +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..ccc5be22b 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