]> git.rm.cloudns.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>
Thu, 16 Feb 2023 11:07:25 +0000 (21:07 +1000)
commit6e9cf8e721d78d5319a773b8006297bac9742589
tree2a5e0b78972126cbfebbb699cd403da50c9859b9
parent2a0df46ba7df2088d9d4c6746ceb049df8b32436
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