(svn r19175) [1.0] -Backport from trunk:

- Change: Do not print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead (r19166)
- Change: The Debian packaging; bring it in sync with the packaging used at Debian excluding package splitting (r19162)
- Fix: Buoys are no Stations, only BaseStations (r19174)
- Fix: Under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order (r19168)
- Fix: Industry 0 could be choosen even if not available [FS#3631] (r19167)
- Fix: Vehicle running costs should not be changed in a running game [FS#3629] (r19165)
This commit is contained in:
rubidium
2010-02-20 21:10:58 +00:00
parent b87549229b
commit eb8263ce50
35 changed files with 184 additions and 788 deletions
+1 -6
View File
@@ -1001,13 +1001,8 @@ public:
switch (ord->GetType()) {
case OT_GOTO_WAYPOINT:
if (this->vehicle->type == VEH_TRAIN) {
xy = Waypoint::Get(ord->GetDestination())->xy;
break;
}
/* FALL THROUGH */
case OT_GOTO_STATION:
xy = Station::Get(ord->GetDestination())->xy;
xy = BaseStation::Get(ord->GetDestination())->xy;
break;
case OT_GOTO_DEPOT: