summaryrefslogtreecommitdiff
path: root/ship_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 /ship_cmd.c
parent99338d278da52e2f71fe8c4d3f05449a1ad24144 (diff)
downloadopenttd-3e0dcfd47fede1060313de42ee75c9f882ae3400.tar.xz
(svn r1701) Style police ^^
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 88519beb8..a0efa79aa 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -816,7 +816,7 @@ int32 CmdBuildShip(int x, int y, uint32 flags, uint32 p1, uint32 p2)
uint tile = TILE_FROM_XY(x,y);
Engine *e;
- if (!(IsEngineBuildable(p1, VEH_Ship))) return CMD_ERROR;
+ if (!IsEngineBuildable(p1, VEH_Ship)) return CMD_ERROR;
SET_EXPENSES_TYPE(EXPENSES_NEW_VEHICLES);