diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-30 20:05:32 -0800 |
| commit | 201955ea052a5188f2e59bdcdbf6c52ff158ee66 (patch) | |
| tree | 66474a7515b56c90e1d0b94a0a39f42da6677d71 /src/object/smallIceBlock.c | |
| parent | 37714644960c56650dd1067b86aafa685eaf01f4 (diff) | |
create enemy struct and enemy flags
Diffstat (limited to 'src/object/smallIceBlock.c')
| -rw-r--r-- | src/object/smallIceBlock.c | 2 |
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)); } } } |
