diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index f45bea5e3..8909dd31b 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;