From 9eb2c4a0906be48b60a5bb297abf507e6112c7bc Mon Sep 17 00:00:00 2001 From: zelgadis Date: Fri, 6 Jun 2008 00:05:32 +0000 Subject: In the interest of efficency only call StashTrack.update_corpses() when absolutelty necessary, rather than whenever the player isn't delayed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5493 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/chardump.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/chardump.cc') diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index fd54f88a5b..832ffd76ea 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -1197,6 +1197,8 @@ static bool write_dump( const std::string &fname, dump_params &par) file_name += strip_filename_unsafe_chars(fname); + StashTrack.update_corpses(); + std::string stash_file_name; stash_file_name = file_name; stash_file_name += ".lst"; -- cgit v1.2.3-54-g00ecf