diff options
author | bjarni <bjarni@openttd.org> | 2005-07-31 13:08:08 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-07-31 13:08:08 +0000 |
commit | 546c34f2e5e6b130cdbc9201fe465548c1e54ee5 (patch) | |
tree | cf8e1be453d176ec2f818199cf430b90a6bf02d8 /aircraft_cmd.c | |
parent | 50e41dc1d14114b90fa56579937f16c3de88eb75 (diff) | |
download | openttd-546c34f2e5e6b130cdbc9201fe465548c1e54ee5.tar.xz |
(svn r2764) -Feature: Clone vehicles
-This allows a player to clone an excisting vehicle of his own
-[fix]: this uncovered an excisting bug in CmdBuildRailVehicle() where depots could build trains of the wrong track type. This is fixed
-Thanks to Celestar for drawing the sprites and _luca_ for including them in openttd.grf
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r-- | aircraft_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 6642ba09d..aba653d36 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -332,7 +332,7 @@ bool IsAircraftHangarTile(TileIndex tile) (_m[tile].m5 == 32 || _m[tile].m5 == 65 || _m[tile].m5 == 86); } -static bool CheckStoppedInHangar(Vehicle *v) +bool CheckStoppedInHangar(Vehicle *v) { if (!(v->vehstatus & VS_STOPPED) || !IsAircraftHangarTile(v->tile)) { _error_message = STR_A01B_AIRCRAFT_MUST_BE_STOPPED; |