(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
This commit is contained in:
@@ -67,7 +67,7 @@ enum DisasterSubType {
|
||||
|
||||
static void DisasterClearSquare(TileIndex tile)
|
||||
{
|
||||
if (!EnsureNoVehicleOnGround(tile)) return;
|
||||
if (EnsureNoVehicleOnGround(tile).Failed()) return;
|
||||
|
||||
switch (GetTileType(tile)) {
|
||||
case MP_RAILWAY:
|
||||
|
Reference in New Issue
Block a user