summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-31 11:41:46 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-31 11:41:46 +0000
commit6bc76233dd44862268b48596d0c8fe5a17eb5a89 (patch)
treeb5ad8fa1f602ffd6209be5e5b9b86980a3f2c958 /crawl-ref/source/macro.cc
parent4186783e74fcd5dd7712f896ea69e0879afc3f84 (diff)
downloadcrawl-ref-6bc76233dd44862268b48596d0c8fe5a17eb5a89.tar.gz
crawl-ref-6bc76233dd44862268b48596d0c8fe5a17eb5a89.zip
[2032987] Fixing lack of mouse actions in tiles version. Removing unused KC_TILE macro context and moving tiles commands to KC_DEFAULT.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6738 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index c983f203d4..87a761418f 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -68,10 +68,6 @@ static macromap *all_maps[] =
&Keymaps[KC_TARGETING],
&Keymaps[KC_CONFIRM],
-#ifdef USE_TILE
- &Keymaps[KC_TILE],
-#endif
-
&Macros,
};
@@ -1131,11 +1127,6 @@ int command_to_key(command_type cmd)
KeymapContext context_for_command(command_type cmd)
{
-#ifdef USE_TILE
- if (cmd >= CMD_MIN_TILE && cmd <= CMD_MAX_TILE)
- return KC_TILE;
-#endif
-
if (cmd > CMD_NO_CMD && cmd <= CMD_MAX_NORMAL)
return KC_DEFAULT;