mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- hack to fix bad door definition in RR E2L7.
This commit is contained in:
parent
03fd5c2ebe
commit
ca1171187f
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue