From b939e856de02bd83c85bc393f82e522f664f34d7 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 540cc0ea8..1438baadd 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