mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Add missing newline in console warning
This commit is contained in:
parent
3b14531dc2
commit
1ba9ecf027
1 changed files with 2 additions and 2 deletions
|
@ -1735,7 +1735,7 @@ static int lib_setSkinColor(lua_State *L)
|
||||||
else if (i == 6 || (str && fastcmp(str,"accessible"))) {
|
else if (i == 6 || (str && fastcmp(str,"accessible"))) {
|
||||||
boolean v = lua_toboolean(L, 3);
|
boolean v = lua_toboolean(L, 3);
|
||||||
if (cnum < FIRSTSUPERCOLOR && v != skincolors[cnum].accessible)
|
if (cnum < FIRSTSUPERCOLOR && v != skincolors[cnum].accessible)
|
||||||
CONS_Alert(CONS_WARNING, "skincolors[] index %d is a standard color; accessibility changes are prohibited.", cnum);
|
CONS_Alert(CONS_WARNING, "skincolors[] index %d is a standard color; accessibility changes are prohibited.\n", cnum);
|
||||||
else
|
else
|
||||||
info->accessible = v;
|
info->accessible = v;
|
||||||
}
|
}
|
||||||
|
@ -1830,7 +1830,7 @@ static int skincolor_set(lua_State *L)
|
||||||
else if (fastcmp(field,"accessible")) {
|
else if (fastcmp(field,"accessible")) {
|
||||||
boolean v = lua_toboolean(L, 3);
|
boolean v = lua_toboolean(L, 3);
|
||||||
if (cnum < FIRSTSUPERCOLOR && v != skincolors[cnum].accessible)
|
if (cnum < FIRSTSUPERCOLOR && v != skincolors[cnum].accessible)
|
||||||
CONS_Alert(CONS_WARNING, "skincolors[] index %d is a standard color; accessibility changes are prohibited.", cnum);
|
CONS_Alert(CONS_WARNING, "skincolors[] index %d is a standard color; accessibility changes are prohibited.\n", cnum);
|
||||||
else
|
else
|
||||||
info->accessible = v;
|
info->accessible = v;
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue