summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-27 10:30:31 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-27 10:30:31 +0000
commit973a85d8d2980c5572da3d4f4839110647864873 (patch)
tree552cd198c83f9684b4eba7845a1366821accf38d /crawl-ref/source/store.cc
parent2b793343f9c43103ee152886353c2988e4434def (diff)
downloadcrawl-ref-973a85d8d2980c5572da3d4f4839110647864873.tar.gz
crawl-ref-973a85d8d2980c5572da3d4f4839110647864873.zip
Let portal vaults (and places like Vault:8 and Slime:6) change the short and
long descriptions of features. For example, "An ice covered rock wall" instead of "A rock wall". See dat/icecave.des function ice_cave_feat_descs() for examples. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7992 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r--crawl-ref/source/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc
index 44cd6483df..f952398b51 100644
--- a/crawl-ref/source/store.cc
+++ b/crawl-ref/source/store.cc
@@ -610,7 +610,7 @@ CrawlVector &CrawlStoreValue::new_vector(store_val_type _type,
#define GET_VAL_PTR(x, _type, value) \
ASSERT((flags & SFLAG_UNSET) || !(flags & SFLAG_CONST_VAL)); \
- if (type != (x)) \
+ if (type != (x) || (flags & SFLAG_UNSET)) \
{ \
if (type == SV_NONE) \
{ \