diff options
author | yexo <yexo@openttd.org> | 2010-08-18 00:30:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-18 00:30:12 +0000 |
commit | eeca1846d6bc6d7032a2084951ec7400dc56ad25 (patch) | |
tree | 615e5b847f151e5d8e696f31211b9a3a031ce39d /src/aircraft_cmd.cpp | |
parent | 9b8d7048da4c078a0b8d58daf38db04b5cfce114 (diff) | |
download | openttd-eeca1846d6bc6d7032a2084951ec7400dc56ad25.tar.xz |
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 2e710bc12..cfd24d534 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -405,7 +405,7 @@ CommandCost CmdRefitAircraft(TileIndex tile, DoCommandFlag flags, uint32 p1, uin CommandCost ret = CheckOwnership(v->owner); if (ret.Failed()) return ret; - if (!v->IsStoppedInDepot()) return_cmd_error(STR_ERROR_AIRCRAFT_MUST_BE_STOPPED); + if (!v->IsStoppedInDepot()) return_cmd_error(STR_ERROR_AIRCRAFT_MUST_BE_STOPPED_INSIDE_HANGAR); if (v->vehstatus & VS_CRASHED) return_cmd_error(STR_ERROR_VEHICLE_IS_DESTROYED); /* Check cargo */ |