summaryrefslogtreecommitdiff
path: root/src/enemy/wallMaster.c
diff options
context:
space:
mode:
authorIbot02 <jtp.jtp@gmx.de>2021-10-25 13:32:54 +0200
committerIbot02 <jtp.jtp@gmx.de>2021-10-25 13:32:54 +0200
commit59076fccb73d0f7bda9fa2e560d5a52144e4aac5 (patch)
tree4c39799847b9c1ad0db73d322e1b9669c76c7719 /src/enemy/wallMaster.c
parent9bca0fe57fbe384db5a98e57a3e54ea82d8f39cf (diff)
Renamed Entity fields for knockback
SolidifiedGaming identified these while glitchhunting.
Diffstat (limited to 'src/enemy/wallMaster.c')
-rw-r--r--src/enemy/wallMaster.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/wallMaster.c b/src/enemy/wallMaster.c
index 663c3612..9a3ae8d2 100644
--- a/src/enemy/wallMaster.c
+++ b/src/enemy/wallMaster.c
@@ -37,9 +37,9 @@ void sub_0802A454(Entity* this) {
}
}
- if (this->field_0x42)
- if (this->field_0x42 > 4)
- this->field_0x42 -= 4;
+ if (this->knockbackDuration != 0)
+ if (this->knockbackDuration > 4)
+ this->knockbackDuration -= 4;
if (this->field_0x43 != 0) {
sub_0804A9FC(this, 0x1c);