1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 09:22:42 +01:00

(svn r17346) [0.7] -Backport from trunk:

- Document: how to manually install AIs
- Fix: Memory leak when trying to bankrupt the local company, other minor improvements of bankruptcy (r17342, r17341, r17340)
- Fix: Not all non-ASCII characters were entered with escapes in the About window (r17309)
- Fix: [NoAI] AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings (r17307)
This commit is contained in:
rubidium
2009-09-01 13:16:53 +00:00
parent 36497b584e
commit ad2fbaddc1
18 changed files with 78 additions and 55 deletions

View File

@@ -626,8 +626,7 @@ static void DisasterTick_Big_Ufo(Vehicle *v)
tile_org = tile = RandomTile();
do {
if (IsTileType(tile, MP_RAILWAY) &&
IsPlainRailTile(tile) &&
if (IsPlainRailTile(tile) &&
IsHumanCompany(GetTileOwner(tile))) {
break;
}