mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 07:22:10 +00:00
objects/checkpoint.cpp: fix -Wformat warning
This commit is contained in:
parent
f12153cb8b
commit
c7aa32d272
1 changed files with 2 additions and 2 deletions
|
|
@ -499,7 +499,7 @@ struct CheckpointManager
|
||||||
auto lines = tagged_lines(chk->linetag());
|
auto lines = tagged_lines(chk->linetag());
|
||||||
if (lines.empty() && gametype != GT_TUTORIAL)
|
if (lines.empty() && gametype != GT_TUTORIAL)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING, "Checkpoint thing %d, has linetag %d, but no lines found. Please ensure all checkpoints have associated lines.\n", chk->spawnpoint - mapthings, chk->linetag());
|
CONS_Alert(CONS_WARNING, "Checkpoint thing %s, has linetag %d, but no lines found. Please ensure all checkpoints have associated lines.\n", sizeu1(chk->spawnpoint - mapthings), chk->linetag());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -510,7 +510,7 @@ struct CheckpointManager
|
||||||
{
|
{
|
||||||
if (gametype != GT_TUTORIAL)
|
if (gametype != GT_TUTORIAL)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING, "Checkpoint thing %d, has no linetag. Please ensure all checkpoint things have a linetag.\n", chk->spawnpoint - mapthings);
|
CONS_Alert(CONS_WARNING, "Checkpoint thing %s, has no linetag. Please ensure all checkpoint things have a linetag.\n", sizeu1(chk->spawnpoint - mapthings));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
list_.push_front(chk);
|
list_.push_front(chk);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue