diff options
| author | theo3 <arisstephenson2@gmail.com> | 2022-03-28 19:51:32 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2022-03-28 20:10:22 -0700 |
| commit | 92240d43147dd36ed879ce1084f7ca6e35f1db96 (patch) | |
| tree | 78a3119e1cd63d4f3333a3cade6cc622cdcb6db1 /src/projectile/fireProjectile.c | |
| parent | 755571834d4fc0e21fdd45b065728c87574a3a07 (diff) | |
name remaining entity fields
Diffstat (limited to 'src/projectile/fireProjectile.c')
| -rw-r--r-- | src/projectile/fireProjectile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projectile/fireProjectile.c b/src/projectile/fireProjectile.c index 85c06766..5aec66d8 100644 --- a/src/projectile/fireProjectile.c +++ b/src/projectile/fireProjectile.c @@ -34,10 +34,10 @@ void FireProjectile_Action1(Entity* this) { } else { if (this->spriteSettings.draw == 1) { CopyPosition(parent, this); - if (this->actionDelay != 0) { + if (this->timer != 0) { direction = parent->direction & 0x18; this->direction = direction; - this->actionDelay = 0; + this->timer = 0; InitializeAnimation(this, direction >> 3); } } |
