Two bugs found? (using last eduke version, since dunno):
- getting
htextra from enemies always returns -1 rather than incurring damage (i also used useractor as additional caution as wiki suggests)
- if adding cstat 256 to dead corpses for being able to shoot them, they use some hardcoded clipping rectangle as high as the living actor (see pic below); maybe i miss something, but I found no way to change it by working on clipdist or various flags.
I know that the first issue can be avoided by constantly checking actor's
extra, and the second with separate actors for corpses.
Unfortunately the separate actor solution opens several issues in a project i'm working on, if not solvable via attributes or some strange trick.