- fixed incorrect implementation of "episode = clear" in UMAPINFO.

This commit is contained in:
Christoph Oelckers 2019-06-19 20:35:41 +02:00
parent ade60584cc
commit 4722720f4b
1 changed files with 1 additions and 9 deletions

View File

@ -216,15 +216,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
{