Bug Tracker – Bug 968

Some line types do not pass use action in Hexen format maps

Last modified: 2013-03-25 19:02:34 UTC
Bug 968 - Some line types do not pass use action in Hexen format maps
Summary: Some line types do not pass use action in Hexen format maps
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.6.x
Hardware: All All
: P1 trivial
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2013-03-25 19:02 UTC by Amateur Spammer
Modified: 2013-03-25 19:02 UTC (History)
2 users (show)

See Also:

Attachments

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 Amateur Spammer 2013-03-25 19:02:34 UTC
Some line types do not pass use action in Hexen format maps.

This is like bug 890, except for Hexen format maps. 
From common/p_map.cpp:
//[RH] And now I've changed it again. If the line is of type
//SPAC_USE, then it eats the use. Everything else passes
//it through, including SPAC_USETHROUGH.
//[ML] And NOW (8/16/10) it checks whether it's use or NOT the passthrough flags
//(passthru on a cross or use line).  This may get augmented/changed even more in the future.
But line flags in Hexen format maps (which contain activation type) are not translated on map load, even though their behavior was changed from ZDoom's (pass Use action on all non-use-activated lines).
For a test case, refer to bug 880 comment 6 (zddl map17 switch).