- redirect messages from last commit to debug mode.

This commit is contained in:
Christoph Oelckers 2020-08-22 09:39:49 +02:00
parent b1c9ec1f47
commit 2a1ef00542
6 changed files with 10 additions and 10 deletions

View file

@ -311,7 +311,7 @@ int CheckCloseRange(short nPlayer, int *x, int *y, int *z, short *nSector)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }

View file

@ -835,7 +835,7 @@ void CreatePushBlock(int nSector)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }
@ -1108,7 +1108,7 @@ void SetQuake(short nSprite, int nVal)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }
@ -1170,7 +1170,7 @@ int AngleChase(int nSprite, int nSprite2, int ebx, int ecx, int push1)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }
@ -1222,7 +1222,7 @@ int AngleChase(int nSprite, int nSprite2, int ebx, int ecx, int push1)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }

View file

@ -1418,7 +1418,7 @@ loc_1AB8E:
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }

View file

@ -262,7 +262,7 @@ int QueenAngleChase(short nSprite, short nSprite2, int val1, int val2)
if (sqrtVal > INT_MAX) if (sqrtVal > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtVal = INT_MAX; sqrtVal = INT_MAX;
} }
@ -307,7 +307,7 @@ int QueenAngleChase(short nSprite, short nSprite2, int val1, int val2)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }

View file

@ -1550,7 +1550,7 @@ int runlist_CheckRadialDamage(short nSprite)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }

View file

@ -152,7 +152,7 @@ int BuildSnake(short nPlayer, short zVal)
if (sqrtNum > INT_MAX) if (sqrtNum > INT_MAX)
{ {
OSD_Printf("%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__); DPrintf(DMSG_WARNING, "%s %d: overflow\n", EDUKE32_FUNCTION, __LINE__);
sqrtNum = INT_MAX; sqrtNum = INT_MAX;
} }