summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-11-21 00:43:11 -0600
committerJesse Luehrs <doy@tozt.net>2009-11-21 01:24:28 -0600
commit1e40dff21f476d76f2cab436661a077b65fee2cb (patch)
tree9d362bda2fb53f98404c8f53a96ad08fd9dba5f9 /crawl-ref/source/shopping.cc
parentfa80bf483a17034a398bc48af17d822a8cbaa2aa (diff)
downloadcrawl-ref-1e40dff21f476d76f2cab436661a077b65fee2cb.tar.gz
crawl-ref-1e40dff21f476d76f2cab436661a077b65fee2cb.zip
0 gold owed in a shop is valid
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index 5792e939fc..58d3aac0b6 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -682,7 +682,7 @@ static bool _in_a_shop( int shopidx, int &num_in_list )
else
total_cost -= gp_value;
- ASSERT(total_cost > 0);
+ ASSERT(total_cost >= 0);
}
}
}