Skip to content
Permalink
Browse files

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

  • Loading branch information...
coelckers committed Jun 19, 2019
1 parent ade6058 commit 4722720f4b4dca7f9259773b945063cf67461338
Showing with 1 addition and 9 deletions.
  1. +1 −9 src/gamedata/umapinfo.cpp
@@ -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
{

0 comments on commit 4722720

Please sign in to comment.
You can’t perform that action at this time.