From: bones_was_here Date: Thu, 13 Oct 2022 12:19:53 +0000 (+1000) Subject: func_plat: fix being stuck in the extended position when .targetname is set on Q3... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=19e3f528f80cb72025e2d8699a39857955abf46a;p=xonotic%2Fxonotic-data.pk3dir.git func_plat: fix being stuck in the extended position when .targetname is set on Q3 maps --- diff --git a/qcsrc/common/mapobjects/platforms.qc b/qcsrc/common/mapobjects/platforms.qc index 28b420b20a..2773845334 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;