diff options
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r-- | crawl-ref/source/store.cc | 2 |
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) \ { \ |