summaryrefslogtreecommitdiff
path: root/src/object/smallIceBlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/smallIceBlock.c')
-rw-r--r--src/object/smallIceBlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/smallIceBlock.c b/src/object/smallIceBlock.c
index ed2cdea1..e5a6c3f1 100644
--- a/src/object/smallIceBlock.c
+++ b/src/object/smallIceBlock.c
@@ -168,7 +168,7 @@ void SmallIceBlock_Action4(SmallIceBlockEntity* this) {
x = ((rand >> 0x10) % 9) - 4;
y = rand & 0xf;
obj->spritePriority.b0 = 3;
- PositionRelative(super, obj, x * 0x10000, -y * 0x10000);
+ PositionRelative(super, obj, Q_16_16(x), Q_16_16(-y));
}
}
}