summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-mem.cc
diff options
context:
space:
mode:
authorontoclasm <yokomeshi@gmail.com>2013-02-17 17:44:13 -0600
committerontoclasm <yokomeshi@gmail.com>2013-02-17 17:44:13 -0600
commit9399400117217f6f804bb696e425df0191a3c2ae (patch)
tree8645033d3660b8d24214b0abe986a0636e3bb13b /crawl-ref/source/tilereg-mem.cc
parent0b2718a76c451f0bc871d92a875818d13c42f8b7 (diff)
downloadcrawl-ref-9399400117217f6f804bb696e425df0191a3c2ae.tar.gz
crawl-ref-9399400117217f6f804bb696e425df0191a3c2ae.zip
Fix tiles compilation
Diffstat (limited to 'crawl-ref/source/tilereg-mem.cc')
-rw-r--r--crawl-ref/source/tilereg-mem.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg-mem.cc b/crawl-ref/source/tilereg-mem.cc
index 314b99ecfe..773cf647c6 100644
--- a/crawl-ref/source/tilereg-mem.cc
+++ b/crawl-ref/source/tilereg-mem.cc
@@ -8,6 +8,7 @@
#include "describe.h"
#include "libutil.h"
#include "macro.h"
+#include "religion.h"
#include "spl-book.h"
#include "spl-cast.h"
#include "spl-util.h"
@@ -148,7 +149,7 @@ void MemoriseRegion::update()
desc.flag |= TILEI_FLAG_INVALID;
}
- if (spell == you.vehumet_gift)
+ if (vehumet_is_offering(spell))
desc.flag |= TILEI_FLAG_EQUIP;
m_items.push_back(desc);