From: bones_was_here Date: Wed, 12 Oct 2022 12:57:46 +0000 (+1000) Subject: func_door: use Q3 default .dmg of 2 on Q3 maps X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e7b8ac28cbe5b1336000ebded7047237b5c56444;p=xonotic%2Fxonotic-data.pk3dir.git func_door: use Q3 default .dmg of 2 on Q3 maps --- diff --git a/qcsrc/common/mapobjects/func/door.qc b/qcsrc/common/mapobjects/func/door.qc index d2635e98c1..2de9cb0b4e 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