summaryrefslogtreecommitdiff
path: root/src/projectile/windProjectile.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-03-28 19:51:32 -0700
committertheo3 <arisstephenson2@gmail.com>2022-03-28 20:10:22 -0700
commit92240d43147dd36ed879ce1084f7ca6e35f1db96 (patch)
tree78a3119e1cd63d4f3333a3cade6cc622cdcb6db1 /src/projectile/windProjectile.c
parent755571834d4fc0e21fdd45b065728c87574a3a07 (diff)
name remaining entity fields
Diffstat (limited to 'src/projectile/windProjectile.c')
-rw-r--r--src/projectile/windProjectile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projectile/windProjectile.c b/src/projectile/windProjectile.c
index 8232bf91..c8d0bfad 100644
--- a/src/projectile/windProjectile.c
+++ b/src/projectile/windProjectile.c
@@ -34,10 +34,10 @@ void WindProjectile_Action1(Entity* this) {
if (this->spriteSettings.draw == 1) {
CopyPosition(parent, this);
direction = (parent->direction + 4) & 0x18;
- if (this->actionDelay != 0) {
+ if (this->timer != 0) {
this->direction = direction;
this->animationState = direction >> 2;
- this->actionDelay = 0;
+ this->timer = 0;
InitializeAnimation(this, direction >> 3);
} else {
if (direction >> 2 != this->animationState) {