mirror of
https://github.com/zeldaret/tmc
synced 2026-06-04 02:47:05 -04:00
Merge pull request #547 from hatal175/DelayedEntityLoadManager_Main
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user