summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-31 12:11:04 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-31 12:11:04 +0000
commited67c1d02e81d59aba70ae139c9711cd0d2a73d9 (patch)
tree0371796ba7742f62fb7801ada1ac813f5e4b63e6 /crawl-ref/source/delay.cc
parent73dc1653606b47a684cd2764dcd6af31405c6215 (diff)
downloadcrawl-ref-ed67c1d02e81d59aba70ae139c9711cd0d2a73d9.tar.gz
crawl-ref-ed67c1d02e81d59aba70ae139c9711cd0d2a73d9.zip
Update stashes when butchery is done. Fixes 1820396.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2703 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 0d55a0893b..a2c627f6b1 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -37,6 +37,7 @@
#include "randart.h"
#include "religion.h"
#include "spl-util.h"
+#include "stash.h"
#include "state.h"
#include "stuff.h"
#include "travel.h"
@@ -543,8 +544,8 @@ static void finish_delay(const delay_queue_item &delay)
unwear_armour( delay.parm1 );
- you.redraw_armour_class = 1;
- you.redraw_evasion = 1;
+ you.redraw_armour_class = true;
+ you.redraw_evasion = true;
break;
}
case DELAY_EAT:
@@ -655,6 +656,7 @@ static void finish_delay(const delay_queue_item &delay)
{
mpr("You stop butchering the corpse.");
}
+ stashes.update_stash(); // Stash-track the generated item(s)
break;
}