diff options
| author | Henny022p <info@henny022.de> | 2025-01-12 01:46:48 +0000 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2025-01-12 02:20:12 +0000 |
| commit | ca873e6b7fb9e62bc26f6637caab9023aa2f6e59 (patch) | |
| tree | eca2eb8f94e8b4ecb41f587f8ce10357481d9641 /src/enemy/crow.c | |
| parent | cd2b8d4b531ee5b4b78d04964a3f895edc31db73 (diff) | |
rename gUnk_020000B0 to gEnemyTarget and move it to a header
Diffstat (limited to 'src/enemy/crow.c')
| -rw-r--r-- | src/enemy/crow.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/enemy/crow.c b/src/enemy/crow.c index 5c882480..5ed6d5ee 100644 --- a/src/enemy/crow.c +++ b/src/enemy/crow.c @@ -23,7 +23,6 @@ typedef struct { void (*const Crow_Functions[])(Entity*); void (*const gUnk_080CE990[])(CrowEntity*); void (*const gUnk_080CE9A4[])(CrowEntity*); -extern Entity* gUnk_020000B0; void sub_08032AF4(CrowEntity* this); void sub_08032AB0(CrowEntity* this); @@ -123,9 +122,9 @@ void sub_0803298C(CrowEntity* this) { if (sub_08049DF4(1) == NULL) return; - if (EntityInRectRadius(super, gUnk_020000B0, 0x88, 0x50) == 0) + if (EntityInRectRadius(super, gEnemyTarget, 0x88, 0x50) == 0) return; - if (gUnk_020000B0->y.HALF.HI <= super->y.HALF.HI + 8) + if (gEnemyTarget->y.HALF.HI <= super->y.HALF.HI + 8) return; super->action = 2; |
