(svn r11533) -Codechange: Rename some unclear clear_x prices member names.
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.
This commit is contained in:
@@ -357,7 +357,7 @@ static CommandCost ClearTile_Water(TileIndex tile, byte flags)
|
||||
if (slope == SLOPE_N || slope == SLOPE_E || slope == SLOPE_S || slope == SLOPE_W) {
|
||||
return CommandCost(_price.clear_water);
|
||||
} else {
|
||||
return CommandCost(_price.purchase_land);
|
||||
return CommandCost(_price.clear_roughland);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user