- hack to fix bad door definition in RR E2L7.

This commit is contained in:
Christoph Oelckers 2022-08-24 22:26:06 +02:00
parent 03fd5c2ebe
commit ca1171187f

View file

@ -472,6 +472,15 @@ void prelevel_r(int g, TArray<DDukeActor*>& actors)
deletesprite(act);
}
}
if (dist == 0)
{
// Oh no, we got an incomplete definition.
if (sectnum(sectp) == 534 && currentLevel->levelNumber == 2007) // fix for bug in RR E2L7 Beaudry Mansion.
{
dist = 48;
speed = 32;
}
}
for(auto& osect: sector)
{
if (sectp->hitag == osect.hitag && &osect != sectp)