mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
- fixed a bad check from pull request #325.
This commit is contained in:
parent
585366f872
commit
b5033d2940
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue