From 1e40dff21f476d76f2cab436661a077b65fee2cb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 21 Nov 2009 00:43:11 -0600 Subject: 0 gold owed in a shop is valid --- 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 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); } } } -- cgit v1.2.3-54-g00ecf