mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix skin names trying to use the non-existant katana dot
This commit is contained in:
parent
2f6962c103
commit
2cd2dae8eb
1 changed files with 4 additions and 9 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue