From b20c9cb98c33feef7ec6c82c9231987ed238615e Mon Sep 17 00:00:00 2001 From: Tal Hayon Date: Mon, 1 Aug 2022 21:25:04 +0300 Subject: Match DelayedEntityLoadManager_Main --- src/object/houseSign.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/object') diff --git a/src/object/houseSign.c b/src/object/houseSign.c index 7e5413b0..b8972164 100644 --- a/src/object/houseSign.c +++ b/src/object/houseSign.c @@ -5,8 +5,7 @@ * @brief HouseSign object */ #include "entity.h" - -extern u32 CheckRectOnScreen(s16, s16, u32, u32); +#include "asm.h" /* This object is created by HouseSignManager. @@ -17,7 +16,7 @@ void HouseSign(Entity* this) { if (this->action == 0) { this->action = 1; } - if (CheckRectOnScreen(this->field_0x80.HWORD, this->field_0x82.HWORD, 0x10, 0x10) == 0) { + if (CheckRectOnScreen((s16)this->field_0x80.HWORD, (s16)this->field_0x82.HWORD, 0x10, 0x10) == 0) { this->parent->zVelocity &= ~(1 << this->type2); DeleteThisEntity(); } -- cgit v1.2.3