- downgrade overflow message to a debug warning.

This commit is contained in:
Christoph Oelckers 2020-12-28 19:43:14 +01:00
parent b73b59cf66
commit 3ecd02dcac

View file

@ -177,8 +177,8 @@ void feebtag(int x, int y, int z, int nSector, short *nSprite, int nVal2, int nV
if (diff > INT_MAX)
{
Printf("%s %d: overflow\n", __func__, __LINE__);
diff = INT_MAX;
DPrintf(DMSG_WARNING, "%s %d: overflow\n", __func__, __LINE__);
diff = INT_MAX;
}
int theSqrt = ksqrt(diff);