From a2362674e33e66bf1d27df208db5b2250a01012e Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 10 Jun 2006 08:37:41 +0000 Subject: (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. --- order_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'order_cmd.c') diff --git a/order_cmd.c b/order_cmd.c index 70a1539a3..cb524312a 100644 --- a/order_cmd.c +++ b/order_cmd.c @@ -189,7 +189,7 @@ int32 CmdInsertOrder(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) st = GetStation(new_order.station); if (!IsValidStation(st) || - (st->airport_type != AT_OILRIG && !(IsBuoy(st)) && !CheckOwnership(st->owner))) { + (st->airport_type != AT_OILRIG && !IsBuoy(st) && !CheckOwnership(st->owner))) { return CMD_ERROR; } -- cgit v1.2.3-54-g00ecf