diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-12-08 21:44:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 21:44:12 -0600 |
commit | 0b91d2948a431a5d44166544897a550061c01a31 (patch) | |
tree | 6e590fbd965b8cd96852ec36474a6841a74dc9b8 /src/rotating_gate.c | |
parent | 88ffb0976571c8782a5e632df79d34b7260882c9 (diff) | |
parent | cceb8ac3314c9ba5a48d0b69bc39c41080335119 (diff) |
Merge pull request #429 from nullableVoidPtr/master
Various fixes and cleanups
Diffstat (limited to 'src/rotating_gate.c')
-rw-r--r-- | src/rotating_gate.c | 2 |
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++) |