diff options
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r-- | src/terraform_gui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index ecdc8a6dd..260234efc 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -44,13 +44,12 @@ #include "safeguards.h" -void CcTerraform(Commands cmd, const CommandCost &result, TileIndex tile) +void CcTerraform(Commands cmd, const CommandCost &result, Money, TileIndex tile) { if (result.Succeeded()) { if (_settings_client.sound.confirm) SndPlayTileFx(SND_1F_CONSTRUCTION_OTHER, tile); } else { - extern TileIndex _terraform_err_tile; - SetRedErrorSquare(_terraform_err_tile); + SetRedErrorSquare(tile); } } |