-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doom/Doom2: Donut line action differs from vanilla #1577
Comments
Which ports would that be? |
I tried it in a few ports as well as Doom2 version 1.9 through dosbox. It doesn't work in the latest chocolate or any close derivative like crispy (5.12.0x64) or inter doom (6.2.1x64). It works fine in Woof (10.5.1x64) and DSDA-Doom (0.25.2) even when specifying -complevel 2. It also works fine in Gzdoom with compatibility set to Doom (strict). |
The problem is in this line: chocolate-doom/src/doom/p_spec.c Line 1304 in 066f74f
If we change break to continue it will work like in MBF/PrBoom+.
|
Surprising to find a desyncing bug in Chocolate Doom after all these years - especially one that other ports did get right. @rfomin While at it, it seems that we are still missing a certain overflow emulation in Woof, i.e. the case when |
It seems check for
I never found a map/demo that depends on it. Just a test file donut_av.wad in the PrBoom+ repository. Maybe we should advise @ManxLoaghtan to just not abuse this bug? |
Oh, andI think I introduced a bug in Woof when I fixed |
Hmm, I don't know the actual order of evaluation here, but your fix looks logical. |
Yes, it does. 😉 But there's a comment in PrBoom+: The original code evaluates to |
Do you happen to have a new link to the wad file? The link in the report doesn't work now. |
Yes, I didn't notice at the time github supported zip uploads directly. This one should be much more permanent. |
Background
Version of Chocolate Doom: built from Git repository 2023-02-05
Operating System and version: Windows
Game: Doom2
Any loaded WADs and mods (please include full command line):
chocolate-doom -file baddonut.wad
Bug description
Observed behavior:
The floor donut switch action (9) can break in chocolate-doom if it targets multiple sectors where at least one of them doesn't move. I made a map for doom2 in to demonstrate. Unlike vanilla and other accurate ports, the switch will not lower the exit platform. It seems confused by the inert sector outside the map to the right.
Download Example: https://anonfiles.com/zex6l3Waya
Expected behavior:
Hit the switch to trigger the donut and lower the exit. Both the pool and pillar are supposed to move to the surrounding floor height.
The text was updated successfully, but these errors were encountered: