]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
func_door: update documentation to reflect default .dmg of 0
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 12 Oct 2022 12:48:50 +0000 (22:48 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 15 Sep 2023 07:11:42 +0000 (17:11 +1000)
commit58329f85919a561279074fcda6c219fe1f6fec2c
treead77ae4298ef2dbcda7154f7796c4ef69e500f14
parent0a86fb94d9f86e1db252628c4136d3197f62488e
func_door: update documentation to reflect default .dmg of 0

IMO 0 is the best default, because if it were > 0 then mappers would
have no way to configure a door that doesn't deal any damage when blocked.

The implemented default has been 0 since (at least) Nexuiz 2.5.2 so
changing it now would not be ideal for compatibility.

The comment about the default of 2 was inherited from Quake.
qcsrc/common/mapobjects/func/door.qc