make the broken ID24 levelnums work somehow so that Legacy of Rust's intermissions play.

This commit is contained in:
Christoph Oelckers 2024-10-01 16:38:14 +02:00
commit 59b567689a
4 changed files with 17 additions and 6 deletions

View file

@ -302,7 +302,7 @@ private:
auto* li = FindLevelInfo(state != StatCount ? wbs->next.GetChars() : wbs->current.GetChars());
if (!li)
return false;
if (li->levelnum != condition.param)
if (li->broken_id24_levelnum != condition.param)
return false;
break;
}
@ -311,7 +311,7 @@ private:
auto* li = FindLevelInfo(state != StatCount ? wbs->next.GetChars() : wbs->current.GetChars());
if (!li)
return false;
if (li->levelnum <= condition.param)
if (li->broken_id24_levelnum <= condition.param)
return false;
break;
}