From be786acee1f7d4c87758afabddaed2b74065650c Mon Sep 17 00:00:00 2001 From: CodeCodon Date: Sun, 2 Aug 2015 17:16:07 -0500 Subject: [PATCH] silence a warning when not in debug mode --- .../library/serverGame/src/shared/object/ServerObject.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/server/library/serverGame/src/shared/object/ServerObject.cpp b/engine/server/library/serverGame/src/shared/object/ServerObject.cpp index 2ca0fa23..c2856c47 100644 --- a/engine/server/library/serverGame/src/shared/object/ServerObject.cpp +++ b/engine/server/library/serverGame/src/shared/object/ServerObject.cpp @@ -1980,7 +1980,9 @@ void ServerObject::endBaselines() { FATAL(ConfigServerGame::getFatalOnGoldPobChange() && getCacheVersion() != 0, ("Object %s is a client cached object and the POB changed from [%d] to [%d]", getNetworkId().getValueString().c_str(), crcValue, portalProperty->getCrc())); +#ifdef DEBUG WARNING(getCacheVersion() != 0, ("Object %s is a client cached object and the POB changed from [%d] to [%d]", getNetworkId().getValueString().c_str(), crcValue, portalProperty->getCrc())); +#endif if (isAuthoritative()) setCacheVersion(0); }