summaryrefslogtreecommitdiff
path: root/src/object/smallIceBlock.c
diff options
context:
space:
mode:
authorTheo <65437533+notyourav@users.noreply.github.com>2023-12-30 20:07:35 -0800
committerGitHub <noreply@github.com>2023-12-30 20:07:35 -0800
commitbd1be092aa85e4eb1d368bef05c88eaae2a0ae84 (patch)
tree66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/object/smallIceBlock.c
parent37714644960c56650dd1067b86aafa685eaf01f4 (diff)
parent201955ea052a5188f2e59bdcdbf6c52ff158ee66 (diff)
Merge pull request #681 from notyourav/em
create enemy struct and enemy flags
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));
}
}
}