mirror of
https://github.com/zeldaret/tmc
synced 2026-08-16 05:09:24 -04:00
Renamed Entity fields for knockback
SolidifiedGaming identified these while glitchhunting.
This commit is contained in:
+2
-2
@@ -85,8 +85,8 @@ void sub_08063DC8(Entity* this) {
|
||||
InitAnimationForceUpdate(this, this->animationState + 4);
|
||||
} else {
|
||||
sub_0806EE20(this);
|
||||
if (this->field_0x3e != this->animationState) {
|
||||
this->animationState = this->field_0x3e;
|
||||
if (this->knockbackDirection != this->animationState) {
|
||||
this->animationState = this->knockbackDirection;
|
||||
InitializeAnimation(this, this->animationState + 4);
|
||||
} else {
|
||||
GetNextFrame(this);
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ void sub_0806045C(Entity* this) {
|
||||
TextboxNoOverlapFollow(0);
|
||||
break;
|
||||
default:
|
||||
bVar1 = this->field_0x3e;
|
||||
bVar1 = this->knockbackDirection;
|
||||
if (bVar1 != this->animationState) {
|
||||
this->animationState = bVar1;
|
||||
InitAnimationForceUpdate(this, 4 + bVar1);
|
||||
|
||||
Reference in New Issue
Block a user