viti95 / FastDoom

Doom port for DOS, optimized to be as fast as possible!
528 stars 33 forks source link

Stairs not building in DOOM2 map 27 #107

Closed RamonUnch closed 2 years ago

RamonUnch commented 2 years ago

Since 51c1539 the stairs in doom2 map 27 no longer build. You can find those stairs at coordinates: x=-1350, Y=528 The stairs are supposed to build like that: image

This also cause a desync in any lv27 max demo. Maybe there is a problem with the hash table. Again a Killough patch.

viti95 commented 2 years ago

Sigh, checked and confirmed that it fails. So again I'm going to revert it until we find what's wrong. Also I think it's related to a hash problem.

RamonUnch commented 2 years ago

Well I think the reason is that the switch (linedef 610) raises stairs from sector 15 as well as sector 20 (tag 26). In the end only stairs from sector 15 gets raised.

EDIT: indeed if I untag sector 15, then sector 20 raises properly.

RamonUnch commented 2 years ago

I can make two doors open with the same switch but not two stairs building with the same switch. I guess this is specific to EV_BuildStairs.

viti95 commented 2 years ago

I'm closing this issue as the problem was fixed 😄. Thanks @RamonUnch !!