Bug Tracker – Bug 976

Railguns can damage an actor multiple times with co_blockmapfix enabled

Last modified: 2016-11-11 23:15:35 CST
Bug 976 - (ARRAY(0x63e87e8)) Railguns can damage an actor multiple times with co_blockmapfix enabled
(ARRAY(0x63e87e8))
Railguns can damage an actor multiple times with co_blockmapfix enabled
Status: NEW
Product: Odamex
Classification: Unclassified
Component: Server & Client
0.6.x
All All
: P1 normal
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-05-01 02:07:55 CDT by Dr. Sean
Modified: 2016-11-11 23:15 CST (History)
1 user (show)

See Also:


Attachments
BlockThings Iterators (18.79 KB, patch)
2013-09-30 02:52:48 CDT, Dr. Sean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Sean 2013-05-01 02:07:55 CDT
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 CDT
Created ﷒0﷓
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 CST
Just refreshing with a comment. "Needs me to put some eyes on it again" ~Sean