From e7b8ac28cbe5b1336000ebded7047237b5c56444 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Wed, 12 Oct 2022 22:57:46 +1000 Subject: [PATCH] func_door: use Q3 default .dmg of 2 on Q3 maps --- qcsrc/common/mapobjects/func/door.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index d2635e98c..2de9cb0b4 100644 --- a/qcsrc/common/mapobjects/func/door.qc +++ b/qcsrc/common/mapobjects/func/door.qc @@ -776,6 +776,9 @@ spawnfunc(func_door) this.speed = 100; } + if (q3compat && !this.dmg) + this.dmg = 2; + settouch(this, door_touch); // LinkDoors can't be done until all of the doors have been spawned, so -- 2.39.2