From 9466fdef8f01859e349564be848e73e404cef751 Mon Sep 17 00:00:00 2001 From: jobi-wan <32619194+jobi-wan@users.noreply.github.com> Date: Sat, 28 Oct 2017 18:14:34 +0200 Subject: [PATCH] Unbalanced braces break function dropdown in xcode IDE (#275) --- src/Core/Entities/ShipEntity.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Core/Entities/ShipEntity.m b/src/Core/Entities/ShipEntity.m index 113ae4d4..1e1c399f 100644 --- a/src/Core/Entities/ShipEntity.m +++ b/src/Core/Entities/ShipEntity.m @@ -288,13 +288,14 @@ static ShipEntity *doOctreesCollide(ShipEntity *prime, ShipEntity *other); { OOLog(@"ship.setup.injectorSpeed",@"injector_speed_factor cannot be higher than minimum torus speed factor (%f) for %@.",MIN_HYPERSPEED_FACTOR,self); afterburner_speed_factor = MIN_HYPERSPEED_FACTOR; + } #else else if (afterburner_speed_factor > HYPERSPEED_FACTOR) { OOLog(@"ship.setup.injectorSpeed",@"injector_speed_factor cannot be higher than torus speed factor (%f) for %@.",HYPERSPEED_FACTOR,self); afterburner_speed_factor = HYPERSPEED_FACTOR; -#endif } +#endif maxEnergy = [shipDict oo_floatForKey:@"max_energy" defaultValue:200.0f]; energy_recharge_rate = [shipDict oo_floatForKey:@"energy_recharge_rate" defaultValue:1.0f];