Bug Tracker – Bug 976

Railguns can damage an actor multiple times with co_blockmapfix enabled

Last modified: 2016-11-11 23:15:35 UTC
Bug 976 - Railguns can damage an actor multiple times with co_blockmapfix enabled
Summary: Railguns can damage an actor multiple times with co_blockmapfix enabled
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.6.x
Hardware: All All
: P1 normal
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2013-05-01 02:07 UTC by Dr. Sean
Modified: 2016-11-11 23:15 UTC (History)
1 user (show)

See Also:

Attachments

BlockThings Iterators (18.79 KB, patch)
2013-09-30 02:52 UTC, Dr. Sean
Details | Diff
Add an attachment (proposed patch, testcase, etc.)

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 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