summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorIbot02 <jtp.jtp@gmx.de>2021-01-21 20:04:35 +0100
committerGitHub <noreply@github.com>2021-01-21 20:04:35 +0100
commit02632295f2280366b1fbcd9d3015bed4eb4f8d37 (patch)
tree8f4354161a08190f18e047a35b19a06fdc31ec00 /src/object
parent9dc15ba3807bfa637630df388be2ceba8b34f0d0 (diff)
parentdee308d56d04ad6233784e3395dc8d72c9cf03f8 (diff)
Merge pull request #111 from Ibot02/manager28
Manager28.c: ok
Diffstat (limited to 'src/object')
-rw-r--r--src/object/houseDoorExterior.c1
-rw-r--r--src/object/lightableSwitch.c1
-rw-r--r--src/object/lilypadSmall.c1
-rw-r--r--src/object/object48.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/src/object/houseDoorExterior.c b/src/object/houseDoorExterior.c
index c15f94f0..cdee3afe 100644
--- a/src/object/houseDoorExterior.c
+++ b/src/object/houseDoorExterior.c
@@ -26,7 +26,6 @@ static u8 sub_08086954(Entity*);
extern u32 sub_080562CC(u32, u32, u32, u32);
extern void sub_08078AC0(u32, u32, u32);
-extern void* GetCurrentRoomProperty(u8);
extern void (*const gUnk_081206B4[])(Entity*);
extern BoundingBox gUnk_081206AC; // TODO: should be const
diff --git a/src/object/lightableSwitch.c b/src/object/lightableSwitch.c
index ecc6449e..472f9fd4 100644
--- a/src/object/lightableSwitch.c
+++ b/src/object/lightableSwitch.c
@@ -9,7 +9,6 @@ extern void sub_0809EAD8(Entity*);
extern void sub_0809EABC(Entity*);
extern void EnqueueSFX(u32);
extern void sub_080A2CC0(Entity*, Entity**, u16*);
-extern Entity* GetCurrentRoomProperty(u32);
extern void SetTile(u32, u32, u32);
extern void sub_0806F69C(Entity*);
diff --git a/src/object/lilypadSmall.c b/src/object/lilypadSmall.c
index 32991f65..7dc35ae2 100644
--- a/src/object/lilypadSmall.c
+++ b/src/object/lilypadSmall.c
@@ -3,7 +3,6 @@
#include "functions.h"
#include "player.h"
-extern Entity* GetCurrentRoomProperty(u32);
extern void sub_080A2CC0(Entity*, Entity**, u16*);
extern u16 gUnk_08123318[];
diff --git a/src/object/object48.c b/src/object/object48.c
index f340da1c..e62b174a 100644
--- a/src/object/object48.c
+++ b/src/object/object48.c
@@ -323,7 +323,7 @@ void sub_0808EBB8(Entity* this) {
}
static Entity* sub_0808EC80(int form) {
- Entity* entityA = &gUnk_03003DA0;
+ Entity* entityA = (Entity*) &gUnk_03003DA0;
Entity* entityB = entityA->next;
while (entityB != entityA) {
if ((entityB->entityType.type == 0x6 && entityB->entityType.subtype == 0x48) &&