diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2021-11-11 18:12:33 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2021-11-12 11:04:37 +0100 |
| commit | b1e2175ffb7f4b65dffb5480e08c86135c66c109 (patch) | |
| tree | dbed4613c31f20af06a0cdd3c9500c8af104bc29 /src/projectile/windProjectile.c | |
| parent | e44d0e3fc9c417fb9c2c5943065b38e2707072bd (diff) | |
Extract entity definitions
Diffstat (limited to 'src/projectile/windProjectile.c')
| -rw-r--r-- | src/projectile/windProjectile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projectile/windProjectile.c b/src/projectile/windProjectile.c index 92308f75..db9ff9b6 100644 --- a/src/projectile/windProjectile.c +++ b/src/projectile/windProjectile.c @@ -4,7 +4,7 @@ #include "audio.h" extern s32 sub_080AF090(Entity*); -extern s32 sub_080A7EB0(Entity*); +extern s32 IsProjectileOffScreen(Entity*); extern void sub_08016AD2(Entity*); extern void (*const WindProjectile_Actions[])(Entity*); @@ -60,7 +60,7 @@ void WindProjectile_Action1(Entity* this) { void WindProjectile_Action2(Entity* this) { GetNextFrame(this); if (sub_080AF090(this) != 0) { - if (sub_080A7EB0(this) != 0) { + if (IsProjectileOffScreen(this) != 0) { DeleteEntity(this); } else { sub_08016AD2(this); |
