summaryrefslogtreecommitdiff
path: root/src/item
diff options
context:
space:
mode:
authorReinmmar <herwig.orlich@gmail.com>2023-09-18 19:01:17 +0200
committerReinmmar <herwig.orlich@gmail.com>2023-09-18 19:01:17 +0200
commited438ebd7855cf3342b61515102e08d42ef7c23e (patch)
tree92c137f749798d8695658f0065a1e0d0e02a76c9 /src/item
parente689c1b32dca15796580f780e9a57161615686c5 (diff)
Formatting again
Diffstat (limited to 'src/item')
-rw-r--r--src/item/itemPegasusBoots.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item/itemPegasusBoots.c b/src/item/itemPegasusBoots.c
index 8449ee50..68a489c8 100644
--- a/src/item/itemPegasusBoots.c
+++ b/src/item/itemPegasusBoots.c
@@ -158,8 +158,8 @@ void sub_08076A88(ItemBehavior* this, u32 index) {
if ((*(u16*)&ptr[(gPlayerEntity.animationState & 0xfe)] & gPlayerState.playerInput.heldInput) == 0) {
this->direction = (this->playerAnimationState & 0xe) * 4;
if ((gPlayerState.direction != DIR_NONE) && (gPlayerState.direction != this->direction)) {
- if (((gPlayerState.direction - this->direction) &
- (0x3 | DIR_DIAGONAL | DirectionNorth | DirectionEast | DirectionSouth | DirectionWest)) < DirectionSouth) {
+ if (((gPlayerState.direction - this->direction) & (0x3 | DIR_DIAGONAL | DirectionNorth | DirectionEast |
+ DirectionSouth | DirectionWest)) < DirectionSouth) {
this->direction = this->direction + 2;
}
this->direction--;