From: Mario Date: Sun, 4 Dec 2022 11:16:20 +0000 (+1000) Subject: Fix error spam that occurs when standing in the way of rotating doors X-Git-Tag: xonotic-v0.8.6~265^2 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=2fb97376511702d8eb3c75a77f46162ef945dead Fix error spam that occurs when standing in the way of rotating doors --- diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index 2dcd2333d..1316c3283 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -82,7 +82,7 @@ void door_blocked(entity this, entity blocker) } #endif } - if (!reverse) + if (!reverse && this.classname == "door") SUB_CalcMovePause(this); }