Bug Tracker – Full Text Bug Listing

Bug 976

Summary: Railguns can damage an actor multiple times with co_blockmapfix enabled
Product: Odamex Reporter: Dr. Sean <grandpachuck187>
Component: Server & ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: normal CC: Ralphis
Priority: P1    
Version: (old) 0.6.x   
Hardware: All   
OS: All   
Attachments: BlockThings Iterators

Description Dr. Sean 2013-05-01 02:07:55 UTC
If an actor is overlapping more than one blockmap, the actor can receive damage from a single rail more than once with co_blockmapfix enabled. A fix was committed for similar behavior regarding rocket splash damage, however, railguns were ommitted. Perhaps a more robust blockthings iterator function is needed to handle this kind of problem automatically.
Comment 1 Dr. Sean 2013-09-30 02:52:48 UTC
Created attachment 445 [details]
BlockThings Iterators

I've attached a patch to provide a two iterators for BlockThings. One iterates the blocks in column major form and the other in row major form. Both are needed due to vanilla Doom compatibility.
Comment 2 Ralph Vickers 2016-11-11 23:15:35 UTC
Just refreshing with a comment. "Needs me to put some eyes on it again" ~Sean