- fixed a bad check from pull request #325.

This commit is contained in:
Christoph Oelckers 2015-07-15 09:11:08 +02:00
parent 585366f872
commit b5033d2940

View file

@ -318,7 +318,7 @@ FString level_info_t::LookupLevelName()
checkstring[0] = '\0'; checkstring[0] = '\0';
} }
thename = strstr (lookedup, checkstring); thename = strstr (lookedup, checkstring);
if (thename == NULL || thename == lookedup) if (thename == NULL)
{ {
thename = lookedup; thename = lookedup;
} }