From e559109419e0d33c70eb968d99db237066b64142 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 15 Nov 2016 16:00:35 +0100 Subject: [PATCH] - made the floating point truncation warning a debug message because I can see this becoming more a hassle than an asset. --- src/scripting/codegeneration/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index f45bea5e34..8909dd31b0 100644 --- a/src/scripting/codegeneration/codegen.cpp +++ b/src/scripting/codegeneration/codegen.cpp @@ -848,7 +848,7 @@ FxExpression *FxIntCast::Resolve(FCompileContext &ctx) } else if (!NoWarn) { - ScriptPosition.Message(MSG_WARNING, "Truncation of floating point value"); + ScriptPosition.Message(MSG_DEBUGWARN, "Truncation of floating point value"); } return this;