summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewchar.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-14 22:53:39 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-14 23:11:49 +0100
commitc9f5e47a78c5332e785ddf3c7c0b1b219c3010a0 (patch)
tree4a2b2d338c8a2c1b09f91badfe0102a6a002fe03 /crawl-ref/source/viewchar.cc
parent38819ab92f40dbb25201157d05005877c7193b86 (diff)
downloadcrawl-ref-c9f5e47a78c5332e785ddf3c7c0b1b219c3010a0.tar.gz
crawl-ref-c9f5e47a78c5332e785ddf3c7c0b1b219c3010a0.zip
Untangle map memory and get_symbol.
Diffstat (limited to 'crawl-ref/source/viewchar.cc')
-rw-r--r--crawl-ref/source/viewchar.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/viewchar.cc b/crawl-ref/source/viewchar.cc
index a0cef43408..78818642bd 100644
--- a/crawl-ref/source/viewchar.cc
+++ b/crawl-ref/source/viewchar.cc
@@ -2,6 +2,7 @@
#include "viewchar.h"
+#include "feature.h"
#include "options.h"
#include "state.h"
@@ -101,3 +102,7 @@ int multibyte_strlen(const std::string &s)
return (s.length());
}
+dungeon_char_type get_feature_dchar(dungeon_feature_type feat)
+{
+ return (get_feature_def(feat).dchar);
+}