summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skill_menu.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-11-21 14:10:40 +0100
committerFlorian Diebold <flodiebold@gmail.com>2011-12-08 22:52:58 +0100
commit81ea3dd754de1b78497ee8da8c19e2a7a5a78232 (patch)
tree67aaa6ba3d570a8c5136f000742114b825b073fd /crawl-ref/source/skill_menu.cc
parent15055ff1e639201928917d7f54f1d0a61ffad2a7 (diff)
downloadcrawl-ref-81ea3dd754de1b78497ee8da8c19e2a7a5a78232.tar.gz
crawl-ref-81ea3dd754de1b78497ee8da8c19e2a7a5a78232.zip
Allow other CRT dialogs to be displayed like a menu in Webtiles.
This mainly means at the moment that the menu is shown as a dialog floating above the normal layer, instead of switching to the separate CRT layer.
Diffstat (limited to 'crawl-ref/source/skill_menu.cc')
-rw-r--r--crawl-ref/source/skill_menu.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/skill_menu.cc b/crawl-ref/source/skill_menu.cc
index 6a0aae4c8a..6d298ee913 100644
--- a/crawl-ref/source/skill_menu.cc
+++ b/crawl-ref/source/skill_menu.cc
@@ -1370,6 +1370,10 @@ void SkillMenu::set_links()
void skill_menu(int flag, int exp)
{
+#ifdef USE_TILE_WEB
+ tiles_crt_control show_as_menu(CRT_MENU, "skills");
+#endif
+
clrscr();
SkillMenu skm(flag, exp);
int keyn;