diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index d89ba9ae7..756f2083f 100644 --- a/src/scripting/codegeneration/codegen.cpp +++ b/src/scripting/codegeneration/codegen.cpp @@ -8356,7 +8356,7 @@ ExpEmit FxFlopFunctionCall::Emit(VMFunctionBuilder *build) //========================================================================== FxFormat::FxFormat(FArgumentList &args, const FScriptPosition &pos) - : FxExpression(EFX_FlopFunctionCall, pos) + : FxExpression(EFX_Format, pos) { ArgList = std::move(args); } diff --git a/src/scripting/codegeneration/codegen.h b/src/scripting/codegeneration/codegen.h index 29369ebc7..97fdf198e 100644 --- a/src/scripting/codegeneration/codegen.h +++ b/src/scripting/codegeneration/codegen.h @@ -255,7 +255,7 @@ enum EFxType EFX_MemberFunctionCall, EFX_ActionSpecialCall, EFX_FlopFunctionCall, - EFX_FormatFunctionCall, + EFX_Format, EFX_VMFunctionCall, EFX_Sequence, EFX_CompoundStatement,