summaryrefslogtreecommitdiff
path: root/src/object/pushableStatue.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:18:38 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2023-12-30 22:18:38 +0100
commit917ca10ba5f397e3e897afd3a3f9b8324de5bdb4 (patch)
treeb7eec587ce4c35fc5fe6d0dc29cac220b4ce9f6e /src/object/pushableStatue.c
parenta818f1b7041898d7eee28b5c1c455ba3225e063f (diff)
parent3c0c1ba5a0653e0acb1c433c3619cda0e3223ddd (diff)
Merge branch 'master' into enemies
Diffstat (limited to 'src/object/pushableStatue.c')
-rw-r--r--src/object/pushableStatue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/pushableStatue.c b/src/object/pushableStatue.c
index 386cb3e0..90ba2fc2 100644
--- a/src/object/pushableStatue.c
+++ b/src/object/pushableStatue.c
@@ -172,8 +172,8 @@ void sub_08089454(PushableStatueEntity* this) {
void sub_080894C8(PushableStatueEntity* this) {
u32 index;
for (index = 0; index < 8; index++) {
- if (gRoomVars.entities[index] == NULL) {
- gRoomVars.entities[index] = super;
+ if (gRoomVars.puzzleEntities[index] == NULL) {
+ gRoomVars.puzzleEntities[index] = super;
break;
}
}
@@ -182,8 +182,8 @@ void sub_080894C8(PushableStatueEntity* this) {
void sub_080894FC(PushableStatueEntity* this) {
u32 index;
for (index = 0; index <= 7; index++) {
- if (super == gRoomVars.entities[index]) {
- gRoomVars.entities[index] = NULL;
+ if (super == gRoomVars.puzzleEntities[index]) {
+ gRoomVars.puzzleEntities[index] = NULL;
break;
}
}