diff options
| author | Henny022p <info@henny022.de> | 2021-03-09 04:22:03 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2021-03-09 04:22:03 +0100 |
| commit | d6c379cb3e9dfe45a87e9531573e3397083099f6 (patch) | |
| tree | 3459fc32962a56b3e0ff3f30ecad1dbd40ea4315 /src/enemy/keaton.c | |
| parent | cdb6f5a17e19abe270e2bf7cd35255a3801c068b (diff) | |
big cleanup part 1
Diffstat (limited to 'src/enemy/keaton.c')
| -rw-r--r-- | src/enemy/keaton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/enemy/keaton.c b/src/enemy/keaton.c index 18b4f87e..a011fcb7 100644 --- a/src/enemy/keaton.c +++ b/src/enemy/keaton.c @@ -164,17 +164,17 @@ void sub_08032650(Entity* this) { sub_0803269C(this, this->direction); } -void sub_0803269C(Entity* this, u32 param_2) { +void sub_0803269C(Entity* this, u32 direction) { u32 uVar1; - if (((param_2 - 3) & 7) < 3) { - uVar1 = DirectionToAnimationState(param_2); + if (((direction - 3) & 7) < 3) { + uVar1 = DirectionToAnimationState(direction); if (((this->animationState - uVar1) & 3) > 1) { this->animationState = uVar1; InitAnimationForceUpdate(this, (this->animIndex & 0xFC) + uVar1); } } else { - uVar1 = DirectionToAnimationState(param_2); + uVar1 = DirectionToAnimationState(direction); if (uVar1 != this->animationState) { this->animationState = uVar1; InitAnimationForceUpdate(this, (this->animIndex & 0xFC) + uVar1); |
