From 3ecd02dcacc8961238d980f5afa25a2088a164c4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 28 Dec 2020 19:43:14 +0100 Subject: [PATCH] - downgrade overflow message to a debug warning. --- source/exhumed/src/player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/exhumed/src/player.cpp b/source/exhumed/src/player.cpp index 77779d1c2..28081a11b 100644 --- a/source/exhumed/src/player.cpp +++ b/source/exhumed/src/player.cpp @@ -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);