mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
Minor compiler warnings
This commit is contained in:
parent
284ae5fab8
commit
5aa56e6029
4 changed files with 4 additions and 4 deletions
|
@ -60,7 +60,7 @@ static void DumpVector(const void* b, int n, size_t size, DumpState* D)
|
||||||
|
|
||||||
static void DumpString(const TString* s, DumpState* D)
|
static void DumpString(const TString* s, DumpState* D)
|
||||||
{
|
{
|
||||||
if (s==NULL || getstr(s)==NULL)
|
if (s==NULL)
|
||||||
{
|
{
|
||||||
size_t size=0;
|
size_t size=0;
|
||||||
DumpVar(size,D);
|
DumpVar(size,D);
|
||||||
|
|
|
@ -6300,7 +6300,7 @@ static void M_RetryResponse(INT32 ch)
|
||||||
if (ch != 'y' && ch != KEY_ENTER)
|
if (ch != 'y' && ch != KEY_ENTER)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!&players[consoleplayer] || netgame || multiplayer) // Should never happen!
|
if (netgame || multiplayer) // Should never happen!
|
||||||
return;
|
return;
|
||||||
|
|
||||||
M_ClearMenus(true);
|
M_ClearMenus(true);
|
||||||
|
|
|
@ -762,7 +762,7 @@ static void M_PNGText(png_structp png_ptr, png_infop png_info_ptr, PNG_CONST png
|
||||||
else
|
else
|
||||||
snprintf(lvlttltext, 48, "Unknown");
|
snprintf(lvlttltext, 48, "Unknown");
|
||||||
|
|
||||||
if (gamestate == GS_LEVEL && &players[displayplayers[0]] && players[displayplayers[0]].mo)
|
if (gamestate == GS_LEVEL && players[displayplayers[0]].mo)
|
||||||
snprintf(locationtxt, 40, "X:%d Y:%d Z:%d A:%d",
|
snprintf(locationtxt, 40, "X:%d Y:%d Z:%d A:%d",
|
||||||
players[displayplayers[0]].mo->x>>FRACBITS,
|
players[displayplayers[0]].mo->x>>FRACBITS,
|
||||||
players[displayplayers[0]].mo->y>>FRACBITS,
|
players[displayplayers[0]].mo->y>>FRACBITS,
|
||||||
|
|
|
@ -1683,7 +1683,7 @@ static int W_VerifyFile(const char *filename, lumpchecklist_t *checklist,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (j = 0; j < NUMSPRITES; j++)
|
for (j = 0; j < NUMSPRITES; j++)
|
||||||
if (sprnames[j] && !strncmp(lumpinfo.name, sprnames[j], 4)) // Sprites
|
if (sprnames[j][0] && !strncmp(lumpinfo.name, sprnames[j], 4)) // Sprites
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
goodfile = false;
|
goodfile = false;
|
||||||
|
|
Loading…
Reference in a new issue