summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2013-12-06 16:27:50 +0100
committerRaphael Langella <raphael.langella@gmail.com>2013-12-07 01:09:23 +0100
commite3bebaeb8970e610ae8596d1c82e3d72751950fd (patch)
treeec634b3a6f6462c949b6272bce005af21cca8634 /crawl-ref/source/libutil.cc
parent297bf63778036a8be02c92f9af28baf1035ddf39 (diff)
downloadcrawl-ref-e3bebaeb8970e610ae8596d1c82e3d72751950fd.tar.gz
crawl-ref-e3bebaeb8970e610ae8596d1c82e3d72751950fd.zip
Add a <nomouse> tag to avoid duplicating text for console and webtiles.
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index 33b76462d4..6a257ee353 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -978,8 +978,10 @@ string untag_tiles_console(string s)
#endif
#ifdef USE_TILE_LOCAL
_untag(s, "<localtiles>", "</localtiles>", true);
+ _untag(s, "<nomouse>", "</nomouse>", false);
#else
_untag(s, "<localtiles>", "</localtiles>", false);
+ _untag(s, "<nomouse>", "</nomouse>", true);
#endif
return s;
}