From a46ad54b1dff32e3b789d7a4cdeefc9b5d790bd0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 11 Mar 2015 23:04:02 -0400 Subject: [PATCH] charge for a boulder that fills a pit in shop Changes to be committed: modified: src/do.c From the email sent by ais523 earlier: > You aren't charged for digging a pit below an unpaid boulder > (causing the boulder to fill the pit). --- src/do.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do.c b/src/do.c index 30cfb77f1..3069a4047 100644 --- a/src/do.c +++ b/src/do.c @@ -179,7 +179,7 @@ const char *verb; } } deltrap(t); - obfree(obj, (struct obj *)0); + useupf(obj, 1L); bury_objs(x, y); newsym(x,y); return TRUE;