- apparently, this was broken before which is why this neeeded this commit in the first place, but now it's been fixed in the official distribution, which makes this commit unnecessary. Or so I am told.

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

This reverts commit 59b567689a.
This commit is contained in:
Rachael Alexanderson 2025-02-01 07:38:47 -05:00
commit ec8e0e667c
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
4 changed files with 6 additions and 16 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->broken_id24_levelnum != condition.param)
if (li->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->broken_id24_levelnum <= condition.param)
if (li->levelnum <= condition.param)
return false;
break;
}