diff --git a/components/compiler/extensions0.cpp b/components/compiler/extensions0.cpp index f3c4bfed7..0c7b0e26b 100644 --- a/components/compiler/extensions0.cpp +++ b/components/compiler/extensions0.cpp @@ -537,7 +537,7 @@ namespace Compiler extensions.registerInstruction("setpos","cf",opcodeSetPos,opcodeSetPosExplicit); extensions.registerFunction("getpos",'f',"c",opcodeGetPos,opcodeGetPosExplicit); extensions.registerFunction("getstartingpos",'f',"c",opcodeGetStartingPos,opcodeGetStartingPosExplicit); - extensions.registerInstruction("position","ffffX",opcodePosition,opcodePositionExplicit); + extensions.registerInstruction("position","ffffz",opcodePosition,opcodePositionExplicit); extensions.registerInstruction("positioncell","ffffcX",opcodePositionCell,opcodePositionCellExplicit); extensions.registerInstruction("placeitemcell","ccffffX",opcodePlaceItemCell); extensions.registerInstruction("placeitem","cffffX",opcodePlaceItem);