summaryrefslogtreecommitdiff
path: root/src/enemy/bladeTrap.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-02-22 09:17:17 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-03-06 00:31:54 +0100
commitabb02729633091d8f02efda99a9cbb8b71674e89 (patch)
treee7f9996a5569a24e648efab90651983af902e165 /src/enemy/bladeTrap.c
parent6206ff831a25330b1887d4d8cfa8435166fe7fa8 (diff)
Decompile rest of objectUtils
Diffstat (limited to 'src/enemy/bladeTrap.c')
-rw-r--r--src/enemy/bladeTrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enemy/bladeTrap.c b/src/enemy/bladeTrap.c
index f5531def..d534242a 100644
--- a/src/enemy/bladeTrap.c
+++ b/src/enemy/bladeTrap.c
@@ -14,7 +14,7 @@ void BladeTrap(Entity* this) {
if (this->action == 0) {
this->action = 1;
this->child = GetCurrentRoomProperty(this->type);
- sub_080A2CC0(this, &this->child, &this->field_0x74.HWORD);
+ sub_080A2CC0(this, (u16**)&this->child, &this->field_0x74.HWORD);
}
if (!(this->direction & 0x80)) {
LinearMoveUpdate(this);
@@ -24,6 +24,6 @@ void BladeTrap(Entity* this) {
if (!(this->direction & 0x80)) {
EnqueueSFX(SFX_METAL_CLINK);
}
- sub_080A2CC0(this, &this->child, &this->field_0x74.HWORD);
+ sub_080A2CC0(this, (u16**)&this->child, &this->field_0x74.HWORD);
}
}