summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-27 21:18:03 +0000
committertron <tron@openttd.org>2005-01-27 21:18:03 +0000
commit3e0dcfd47fede1060313de42ee75c9f882ae3400 (patch)
tree1b0995dede73063087b7c888a7149b0ea4eace31 /aircraft_cmd.c
parent99338d278da52e2f71fe8c4d3f05449a1ad24144 (diff)
downloadopenttd-3e0dcfd47fede1060313de42ee75c9f882ae3400.tar.xz
(svn r1701) Style police ^^
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 7525b6a6c..201cc8bf3 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -161,7 +161,7 @@ int32 CmdBuildAircraft(int x, int y, uint32 flags, uint32 p1, uint32 p2)
const AircraftVehicleInfo *avi = AircraftVehInfo(p1);
Engine *e;
- if (!(IsEngineBuildable(p1, VEH_Aircraft))) return CMD_ERROR;
+ if (!IsEngineBuildable(p1, VEH_Aircraft)) return CMD_ERROR;
SET_EXPENSES_TYPE(EXPENSES_NEW_VEHICLES);