Skip to content

Commit

Permalink
Fix FxMultiAssignDecl type
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 authored and coelckers committed Dec 23, 2022
1 parent adfef56 commit 6072260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/scripting/backend/codegen.cpp
Expand Up @@ -2726,7 +2726,7 @@ ExpEmit FxMultiAssign::Emit(VMFunctionBuilder *build)
//==========================================================================

FxMultiAssignDecl::FxMultiAssignDecl(FArgumentList &base, FxExpression *right, const FScriptPosition &pos)
:FxExpression(EFX_MultiAssign, pos)
:FxExpression(EFX_MultiAssignDecl, pos)
{
Base = std::move(base);
Right = right;
Expand Down
1 change: 1 addition & 0 deletions src/common/scripting/backend/codegen.h
Expand Up @@ -294,6 +294,7 @@ enum EFxType
EFX_Super,
EFX_StackVariable,
EFX_MultiAssign,
EFX_MultiAssignDecl,
EFX_StaticArray,
EFX_StaticArrayVariable,
EFX_CVar,
Expand Down

0 comments on commit 6072260

Please sign in to comment.