summaryrefslogtreecommitdiff
path: root/src/rotating_gate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rotating_gate.c')
-rw-r--r--src/rotating_gate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rotating_gate.c b/src/rotating_gate.c
index f617321af..3513f092e 100644
--- a/src/rotating_gate.c
+++ b/src/rotating_gate.c
@@ -871,7 +871,7 @@ static s32 RotatingGate_CanRotate(u8 gateId, s32 rotationDirection)
y = gRotatingGate_PuzzleConfig[gateId].y + 7;
// Loop through the gate's "arms" clockwise (north, south, east, west)
- for (i = GATE_ARM_NORTH ; i <= GATE_ARM_WEST; i++)
+ for (i = GATE_ARM_NORTH; i <= GATE_ARM_WEST; i++)
{
// Ensure that no part of the arm collides with the map
for (j = 0; j < GATE_ARM_MAX_LENGTH; j++)