summaryrefslogtreecommitdiff
path: root/src/enemy/wallMaster2.c
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-04-01 18:19:56 +0300
committerTal Hayon <talhayon1@gmail.com>2022-04-01 18:19:56 +0300
commitd6d7916a460acb7190bd353b3ed86eb85f3a6002 (patch)
treeb6fae3edaf0c04001089806de650b6e7cead8207 /src/enemy/wallMaster2.c
parent9233701a5df02847510df90937f25bccc46eebd2 (diff)
Use fixed point macros where possible
Diffstat (limited to 'src/enemy/wallMaster2.c')
-rw-r--r--src/enemy/wallMaster2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/wallMaster2.c b/src/enemy/wallMaster2.c
index 59a3e042..5f07b006 100644
--- a/src/enemy/wallMaster2.c
+++ b/src/enemy/wallMaster2.c
@@ -147,7 +147,7 @@ void sub_0802CEF4(Entity* this) {
SetInitializationPriority();
DoExitTransition(gUnk_0813AB1C[gArea.dungeon_idx]);
} else {
- this->z.WORD -= 0x20000;
+ this->z.WORD -= Q_16_16(2);
if (this->z.HALF.HI < -0x30) {
this->spriteSettings.shadow = 1;
}