diff options
author | truelight <truelight@openttd.org> | 2004-12-04 18:17:52 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-04 18:17:52 +0000 |
commit | 00168d46603dd4bfb0ae925f6adbe8d3092629f1 (patch) | |
tree | b51b91235f126b5bdb73d606c95d6ef6a2f8d074 /main_gui.c | |
parent | 39382a16f3470d15ebe161dda7921e412e1d9465 (diff) | |
download | openttd-00168d46603dd4bfb0ae925f6adbe8d3092629f1.tar.xz |
(svn r945) -Fix: [Network] Terraform callback went wrong in merge
-Fix: Some settings went wrong in merge
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/main_gui.c b/main_gui.c index 8740e28ac..42125d347 100644 --- a/main_gui.c +++ b/main_gui.c @@ -44,6 +44,8 @@ extern void GenerateTowns(); extern uint GetCurrentCurrencyRate(); +extern void CcTerraform(bool success, uint tile, uint32 p1, uint32 p2); + void HandleOnEditTextCancel() { switch(_rename_what) { #ifdef ENABLE_NETWORK @@ -1116,15 +1118,6 @@ static void AskResetLandscape(uint mode) AllocateWindowDescFront(&_ask_reset_landscape_desc, mode); } -void CcTerraform(bool success, uint tile, uint32 p1, uint32 p2) -{ - if (success) { - SndPlayTileFx(SND_1F_SPLAT, tile); - } else { - SetRedErrorSquare(_terraform_err_tile); - } -} - static void CommonRaiseLowerBigLand(uint tile, int mode) { int size; |