mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- fixed bad Printf formatting directives in swcustom parser.
This commit is contained in:
parent
c98f7d304b
commit
e7ddc4178a
1 changed files with 8 additions and 8 deletions
|
@ -544,7 +544,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -585,7 +585,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -600,7 +600,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
if (sc.ParseError) curskill = -1;
|
||||
if ((unsigned)--curskill >= 4u)
|
||||
{
|
||||
sc.ScriptMessage("Skill number %d not in range 1-4 on line %s:%d\n", curskill + 1);
|
||||
sc.ScriptMessage("Skill number %d not in range 1-4", curskill + 1);
|
||||
curskill = -1;
|
||||
break;
|
||||
}
|
||||
|
@ -618,7 +618,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -702,7 +702,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
amt = sc.Number;
|
||||
break;
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -770,7 +770,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
wpickup = sc.Number;
|
||||
break;
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -830,7 +830,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
trak = sc.Number;
|
||||
break;
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -848,7 +848,7 @@ void LoadCustomInfoFromScript(const char *filename)
|
|||
case CM_SECRET:
|
||||
case CM_QUIT:
|
||||
default:
|
||||
sc.ScriptError("Unknown keyword %d", sc.String);
|
||||
sc.ScriptError("Unknown keyword %s", sc.String);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue