mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 23:50:58 +00:00
- fixed incorrect implementation of "episode = clear" in UMAPINFO.
This commit is contained in:
parent
a334d08a7b
commit
300f4adea8
1 changed files with 1 additions and 9 deletions
|
@ -219,15 +219,7 @@ static int ParseStandardProperty(FScanner &scanner, UMapEntry *mape)
|
|||
if (Episode.IsEmpty()) return 0;
|
||||
if (Episode.Compare("-") == 0)
|
||||
{
|
||||
// clear the given episode
|
||||
for (unsigned i = 0; i < AllEpisodes.Size(); i++)
|
||||
{
|
||||
if (AllEpisodes[i].mEpisodeMap.CompareNoCase(mape->MapName) == 0)
|
||||
{
|
||||
AllEpisodes.Delete(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
AllEpisodes.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue