diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2022-08-04 11:44:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-04 11:44:01 -0700 |
| commit | bbcea04f9ef17002bb98f1793ff058dc34b4f235 (patch) | |
| tree | daf0e58fe58d5f4d46d678ab044b5e1b80fefaad /src/object | |
| parent | 7f3bc829e91af0b15fd2d969bcc93b348931b92e (diff) | |
| parent | b20c9cb98c33feef7ec6c82c9231987ed238615e (diff) | |
Merge pull request #547 from hatal175/DelayedEntityLoadManager_Main
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/houseSign.c | 5 |
1 files changed, 2 insertions, 3 deletions
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(); } |
