From 4e46a83734d26520a035287a3a5d3a09bb5a27e5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 14 Jun 2021 08:00:08 +0200 Subject: [PATCH] - fixed bad type in FxFontCast. --- src/common/scripting/backend/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/scripting/backend/codegen.cpp b/src/common/scripting/backend/codegen.cpp index 9eb887827..6a551f1c6 100644 --- a/src/common/scripting/backend/codegen.cpp +++ b/src/common/scripting/backend/codegen.cpp @@ -1449,7 +1449,7 @@ FxFontCast::FxFontCast(FxExpression *x) : FxExpression(EFX_FontCast, x->ScriptPosition) { basex = x; - ValueType = TypeSound; + ValueType = TypeFont; } //==========================================================================