mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
discord.c compilation warning
This commit is contained in:
parent
fc9697b2e1
commit
b8f3e64ca1
1 changed files with 3 additions and 1 deletions
|
|
@ -405,7 +405,9 @@ void DRPC_UpdatePresence(void)
|
||||||
{
|
{
|
||||||
char detailstr[48+1];
|
char detailstr[48+1];
|
||||||
|
|
||||||
|
#ifdef USEMAPIMG
|
||||||
char mapimg[8+1];
|
char mapimg[8+1];
|
||||||
|
#endif
|
||||||
char mapname[5+21+21+2+1];
|
char mapname[5+21+21+2+1];
|
||||||
|
|
||||||
char charimg[4+SKINNAMESIZE+1];
|
char charimg[4+SKINNAMESIZE+1];
|
||||||
|
|
@ -508,7 +510,7 @@ void DRPC_UpdatePresence(void)
|
||||||
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info
|
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info
|
||||||
&& !(demo.playback && demo.title))
|
&& !(demo.playback && demo.title))
|
||||||
{
|
{
|
||||||
#if 0
|
#ifdef USEMAPIMG
|
||||||
if ((gamemap >= 1 && gamemap <= 60) // supported race maps
|
if ((gamemap >= 1 && gamemap <= 60) // supported race maps
|
||||||
|| (gamemap >= 136 && gamemap <= 164)) // supported battle maps
|
|| (gamemap >= 136 && gamemap <= 164)) // supported battle maps
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue