summaryrefslogtreecommitdiff
path: root/src/rotating_gate.c
diff options
context:
space:
mode:
authorKDSKardabox <bollygame94@gmail.com>2018-12-09 13:44:41 +0530
committerKDSKardabox <bollygame94@gmail.com>2018-12-09 13:44:41 +0530
commit8712757d2454a8ee15680a658ea7df8621954bef (patch)
tree5f0ebfdccc0e22c0e52f8d223ec4889c7597569f /src/rotating_gate.c
parentf8838491f6c46df771c5414f8b6da781294300b7 (diff)
parent0b91d2948a431a5d44166544897a550061c01a31 (diff)
Merge remote-tracking branch 'upstream/master'
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++)