Remove stub HandleOnEditText and now unused global variables.

This commit is contained in:
Jonathan G Rennison
2017-03-01 21:20:15 +00:00
parent f820543391
commit 49e922daa6
3 changed files with 3 additions and 10 deletions

View File

@@ -47,9 +47,6 @@
#include "safeguards.h"
static int _rename_id = 1;
static int _rename_what = -1;
void CcGiveMoney(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
{
#ifdef ENABLE_NETWORK
@@ -68,11 +65,6 @@ void CcGiveMoney(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2
#endif /* ENABLE_NETWORK */
}
void HandleOnEditText(const char *str)
{
NOT_REACHED();
}
/**
* This code is shared for the majority of the pushbuttons.
* Handles e.g. the pressing of a button (to build things), playing of click sound and sets certain parameters