From dc759a501b7dfa183b64ea68fbd9437f04e39e74 Mon Sep 17 00:00:00 2001 From: KDSKardabox Date: Wed, 18 Apr 2018 22:17:23 +0530 Subject: add braces --- src/rotating_gate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/rotating_gate.c b/src/rotating_gate.c index f1cb8d1a0..db5935fc3 100644 --- a/src/rotating_gate.c +++ b/src/rotating_gate.c @@ -676,8 +676,9 @@ static void RotatingGate_RotateInDirection(u8 gateId, u32 rotationDirection) orientation = GATE_ORIENTATION_270; } else + { orientation = ++orientation % GATE_ORIENTATION_MAX; - + } RotatingGate_SetGateOrientation(gateId, orientation); } -- cgit v1.2.3