summaryrefslogtreecommitdiff
path: root/src/clear_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
commit1357b0a4c2c9cb2cf6d81a2cbc3e851d25c6c735 (patch)
treef69215ca7fcf8c6741e37e05e4a9c67f0e8e201a /src/clear_cmd.cpp
parent2086fbcf174b20758cbd9ebb94b3985e2b25ee29 (diff)
downloadopenttd-1357b0a4c2c9cb2cf6d81a2cbc3e851d25c6c735.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/clear_cmd.cpp')
-rw-r--r--src/clear_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp
index 74687f5f0..8b9a6edef 100644
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -310,9 +310,10 @@ get_out:;
} while (--i);
}
-static void ClickTile_Clear(TileIndex tile)
+static bool ClickTile_Clear(TileIndex tile)
{
/* not used */
+ return false;
}
static TrackStatus GetTileTrackStatus_Clear(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)