summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-28 20:04:54 +0000
committertron <tron@openttd.org>2005-10-28 20:04:54 +0000
commit9e957ff80bcd1e6be4239bd8355a355e5c892ded (patch)
tree9a4f4a7107287032c0a14495e76860f223a83bfe /aircraft_cmd.c
parent9bbf8ea9d056900500aa6f534091883ff2de6df0 (diff)
downloadopenttd-9e957ff80bcd1e6be4239bd8355a355e5c892ded.tar.xz
(svn r3098) static, const, uint -> TileIndex, indentation, bracing, unused return values, ... mostly related to the clone vehicle GUI
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 3c12b3752..ebd4c5f7b 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -328,7 +328,7 @@ bool IsAircraftHangarTile(TileIndex tile)
(_m[tile].m5 == 32 || _m[tile].m5 == 65 || _m[tile].m5 == 86);
}
-bool CheckStoppedInHangar(Vehicle *v)
+bool CheckStoppedInHangar(const Vehicle* v)
{
if (!(v->vehstatus & VS_STOPPED) || !IsAircraftHangarTile(v->tile)) {
_error_message = STR_A01B_AIRCRAFT_MUST_BE_STOPPED;