yet even more GetChars calls added.
This commit is contained in:
parent
c94c63110e
commit
7a5a2858a2
46 changed files with 190 additions and 190 deletions
|
|
@ -140,9 +140,9 @@ MapData *P_OpenMapData(const char * mapname, bool justcheck)
|
|||
// Names with more than 8 characters will only be checked as .wad and .map.
|
||||
if (strlen(mapname) <= 8) lump_name = fileSystem.CheckNumForName(mapname);
|
||||
fmt.Format("maps/%s.wad", mapname);
|
||||
lump_wad = fileSystem.CheckNumForFullName(fmt);
|
||||
lump_wad = fileSystem.CheckNumForFullName(fmt.GetChars());
|
||||
fmt.Format("maps/%s.map", mapname);
|
||||
lump_map = fileSystem.CheckNumForFullName(fmt);
|
||||
lump_map = fileSystem.CheckNumForFullName(fmt.GetChars());
|
||||
|
||||
if (lump_name > lump_wad && lump_name > lump_map && lump_name != -1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue