add braces
This commit is contained in:
+2
-1
@@ -676,8 +676,9 @@ static void RotatingGate_RotateInDirection(u8 gateId, u32 rotationDirection)
|
|||||||
orientation = GATE_ORIENTATION_270;
|
orientation = GATE_ORIENTATION_270;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
orientation = ++orientation % GATE_ORIENTATION_MAX;
|
orientation = ++orientation % GATE_ORIENTATION_MAX;
|
||||||
|
}
|
||||||
RotatingGate_SetGateOrientation(gateId, orientation);
|
RotatingGate_SetGateOrientation(gateId, orientation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user