(svn r945) -Fix: [Network] Terraform callback went wrong in merge

-Fix: Some settings went wrong in merge
This commit is contained in:
truelight
2004-12-04 18:17:52 +00:00
parent 39382a16f3
commit 00168d4660
4 changed files with 7 additions and 12 deletions

View File

@@ -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;