discord.c compilation warning

This commit is contained in:
toaster 2022-09-21 19:22:33 +01:00 committed by GenericHeroGuy
parent 18fdd8fa9a
commit b9da47c13d

View file

@ -442,7 +442,9 @@ void DRPC_UpdatePresence(void)
char detailstr[48+1];
#ifdef USEMAPIMG
char mapimg[8+1];
#endif
char mapname[5+21+21+2+1];
char charimg[4+SKINNAMESIZE+1];
@ -545,7 +547,7 @@ void DRPC_UpdatePresence(void)
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info
&& !(demo.playback && demo.title))
{
#if 0
#ifdef USEMAPIMG
if ((gamemap >= 1 && gamemap <= 60) // supported race maps
|| (gamemap >= 136 && gamemap <= 164)) // supported battle maps
{