Fix skin names trying to use the non-existant katana dot

This commit is contained in:
Sally Coolatta 2020-09-26 04:10:06 -04:00
parent 2f6962c103
commit 2cd2dae8eb

View file

@ -364,7 +364,6 @@ static UINT16 W_CheckForSkinMarkerInPwad(UINT16 wadid, UINT16 startlump)
#define SYMBOLCONVERT(name) for (value = name; *value; value++)\
{\
if (*value == '_') *value = ' ';\
else if (*value == '.') *value = '\x1E';\
}
//
@ -615,11 +614,7 @@ void R_AddSkins(UINT16 wadnum)
if (!realname)
{
STRBUFCPY(skin->realname, skin->name);
for (value = skin->realname; *value; value++)
{
if (*value == '_') *value = ' '; // turn _ into spaces.
else if (*value == '.') *value = '\x1E'; // turn . into katana dot.
}
SYMBOLCONVERT(skin->realname);
}
}
else if (!stricmp(stoken, "realname"))