mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-21 00:41:20 +00:00
fixup SOC changes for C 89 mode
This commit is contained in:
parent
bf75bf7697
commit
ea80f5bdd9
1 changed files with 2 additions and 1 deletions
|
@ -707,6 +707,7 @@ static void readfollower(MYFILE *f)
|
|||
boolean nameset;
|
||||
INT32 fallbackstate = 0;
|
||||
INT32 res;
|
||||
INT32 i;
|
||||
|
||||
if (numfollowers > MAXSKINS)
|
||||
{
|
||||
|
@ -880,7 +881,7 @@ static void readfollower(MYFILE *f)
|
|||
strcpy(dname, followers[numfollowers].skinname); // display name, just used for printing succesful stuff or errors later down the line.
|
||||
|
||||
// now that the skin name is ready, post process the actual name to turn the underscores into spaces!
|
||||
for (INT32 i = 0; followers[numfollowers].name[i]; i++)
|
||||
for (i = 0; followers[numfollowers].name[i]; i++)
|
||||
{
|
||||
if (followers[numfollowers].name[i] == '_')
|
||||
followers[numfollowers].name[i] = ' ';
|
||||
|
|
Loading…
Reference in a new issue