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