Unbalanced braces break function dropdown in xcode IDE (#275)

This commit is contained in:
jobi-wan 2017-10-28 18:14:34 +02:00 committed by AnotherCommander
parent dae8242a9c
commit 9466fdef8f

View File

@ -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];