forked from mirror/OpenTTD
(svn r945) -Fix: [Network] Terraform callback went wrong in merge
-Fix: Some settings went wrong in merge
This commit is contained in:
11
main_gui.c
11
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;
|
||||
|
Reference in New Issue
Block a user