Document func_door_rotating, trigger_reverse in entities.def
MrBougo created issue xonotic-data.pk3dir#1282 (closed) on 2012-08-11T09:14:25Z:
entities.def is missing several spawnflags (namely BIDIR
, BIDIR_IN_DOWN
) for func_door_rotating, as well as the untested spawnflags that change the axis of rotation. This is bad because the description of func_door_rotating
still mentions BIDIR
and BIDIR_IN_DOWN
.
The trigger_reverse
field for triggers, used by BIDIR
doors, is not documented either.
Also, this piece of code in spawnfunc_func_door_rotating
seems strange, as spawnflag 8 is BIDIR_IN_DOWN
. I suppose this is related to crushing, which is also not documented in entities.def
if(self.spawnflags & 8)
self.dmg = 10000;
Edited by Mario