mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
more '\n' business
From /dev/humancontroller.
This commit is contained in:
parent
4cfbbe506c
commit
945f01d4af
12 changed files with 59 additions and 59 deletions
|
@ -1158,7 +1158,7 @@ float ReadSignedFloat(script_t *script)
|
|||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing float value\n");
|
||||
ScriptError(script, "Missing float value");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1167,7 +1167,7 @@ float ReadSignedFloat(script_t *script)
|
|||
|
||||
if (token.type != TT_NUMBER)
|
||||
{
|
||||
ScriptError(script, "expected float value, found %s\n", token.string);
|
||||
ScriptError(script, "expected float value, found %s", token.string);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1189,7 +1189,7 @@ signed long int ReadSignedInt(script_t *script)
|
|||
{
|
||||
if(!PS_ExpectAnyToken(script, &token))
|
||||
{
|
||||
ScriptError(script, "Missing integer value\n");
|
||||
ScriptError(script, "Missing integer value");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1198,7 +1198,7 @@ signed long int ReadSignedInt(script_t *script)
|
|||
|
||||
if (token.type != TT_NUMBER || token.subtype == TT_FLOAT)
|
||||
{
|
||||
ScriptError(script, "expected integer value, found %s\n", token.string);
|
||||
ScriptError(script, "expected integer value, found %s", token.string);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue