diff options
author | rubidium <rubidium@openttd.org> | 2009-07-27 11:59:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-27 11:59:36 +0000 |
commit | b76cad419e405d4d24a67cd7d421d6d78020831a (patch) | |
tree | 1b2c7a5c3e87c0c25d6e7f899b144de0638be39a | |
parent | 2ec12a3f587f4271a2d8ba5e22af233e1094e321 (diff) | |
download | openttd-b76cad419e405d4d24a67cd7d421d6d78020831a.tar.xz |
(svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail
-rw-r--r-- | src/disaster_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index cb79ca824..8f02214ff 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -62,7 +62,7 @@ static void DisasterClearSquare(TileIndex tile) switch (GetTileType(tile)) { case MP_RAILWAY: - if (Company::IsHumanID(GetTileOwner(tile)) && !IsRailWaypoint(tile)) { + if (Company::IsHumanID(GetTileOwner(tile))) { CompanyID old_company = _current_company; _current_company = OWNER_WATER; DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |