mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
remove extraneous va() calls
This commit is contained in:
parent
2b12e5ff20
commit
f5ba192f0b
2 changed files with 2 additions and 2 deletions
|
@ -1185,7 +1185,7 @@ static void readlevelheader(MYFILE *f, INT32 num)
|
|||
deh_warning("Level header %d: musicslot out of range (0 - 1035)\n", num);
|
||||
else // it's just a number
|
||||
{
|
||||
snprintf(mapheaderinfo[num-1]->musname, 7, va("%sM", G_BuildMapName(i)));
|
||||
snprintf(mapheaderinfo[num-1]->musname, 7, "%sM", G_BuildMapName(i));
|
||||
mapheaderinfo[num-1]->musname[6] = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ static void P_ClearSingleMapHeaderInfo(INT16 i)
|
|||
DEH_WriteUndoline("NEXTLEVEL", va("%d", mapheaderinfo[num]->nextlevel), UNDO_NONE);
|
||||
mapheaderinfo[num]->nextlevel = (INT16)(i + 1);
|
||||
DEH_WriteUndoline("MUSIC", mapheaderinfo[num]->musname, UNDO_NONE);
|
||||
snprintf(mapheaderinfo[num]->musname, 7, va("%sM", G_BuildMapName(i)));
|
||||
snprintf(mapheaderinfo[num]->musname, 7, "%sM", G_BuildMapName(i));
|
||||
mapheaderinfo[num]->musname[6] = 0;
|
||||
DEH_WriteUndoline("MUSICTRACK", va("%d", mapheaderinfo[num]->mustrack), UNDO_NONE);
|
||||
mapheaderinfo[num]->mustrack = 0;
|
||||
|
|
Loading…
Reference in a new issue