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.xonotic.org/?a=commitdiff_plain;h=b939e856de02bd83c85bc393f82e522f664f34d7;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 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