summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-02 22:42:05 +0000
committerrubidium <rubidium@openttd.org>2009-01-02 22:42:05 +0000
commitd3144b6f04213319bd76db387ba43c6dd7ce6967 (patch)
treef69215ca7fcf8c6741e37e05e4a9c67f0e8e201a /src/town_cmd.cpp
parentac74654d8fcc26b85741179c0ad34725f1a82d89 (diff)
downloadopenttd-d3144b6f04213319bd76db387ba43c6dd7ce6967.tar.xz
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index d91b941d0..e37e331c1 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -522,9 +522,10 @@ static void TileLoop_Town(TileIndex tile)
* Dummy tile callback function for handling tile clicks in towns
* @param tile unused
*/
-static void ClickTile_Town(TileIndex tile)
+static bool ClickTile_Town(TileIndex tile)
{
/* not used */
+ return false;
}
static CommandCost ClearTile_Town(TileIndex tile, byte flags)