Merge branch 'master' into scripting
Conflicts: src/thingdef/thingdef_codeptr.cpp
This commit is contained in:
commit
8c5cc45dbe
4 changed files with 23 additions and 10 deletions
|
|
@ -312,8 +312,13 @@ FString level_info_t::LookupLevelName()
|
|||
{
|
||||
mysnprintf (checkstring, countof(checkstring), "%d: ", atoi(&MapName[5]));
|
||||
}
|
||||
else
|
||||
{
|
||||
// make sure nothing is stripped.
|
||||
checkstring[0] = '\0';
|
||||
}
|
||||
thename = strstr (lookedup, checkstring);
|
||||
if (thename == NULL)
|
||||
if (thename == NULL || thename == lookedup)
|
||||
{
|
||||
thename = lookedup;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue