Renamed Entity fields for knockback

SolidifiedGaming identified these while glitchhunting.
This commit is contained in:
Ibot02
2021-10-25 13:32:54 +02:00
parent 9bca0fe57f
commit 59076fccb7
33 changed files with 87 additions and 87 deletions
+3 -3
View File
@@ -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);