From 6af92e2651be67206e4f153f73adeaa1e16f0b40 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Tue, 29 Dec 2009 03:59:18 +0530 Subject: Generalise shopping-list-disable-check to need_save; fixes crashes on arena. --- crawl-ref/source/shopping.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 8cb0dfa4be..2b5d582316 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -2430,7 +2430,7 @@ void ShoppingList::move_things(const coord_def &_src, const coord_def &_dst) void ShoppingList::forget_pos(const level_pos &pos) { - if (crawl_state.map_stat_gen || crawl_state.test) + if (!crawl_state.need_save) // Shopping list is unitialized and uneeded. return; -- cgit v1.2.3-54-g00ecf