summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-17 08:03:38 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-17 08:03:38 +0000
commit0cb37ef9c9aa55e1a24816666080b54b554843cb (patch)
treeedc15278241ca4689c0f9da45f9842a99b219b10 /crawl-ref/source/stash.cc
parente086d5eefd17d2977bd4b84aaf9f9631ae154700 (diff)
downloadcrawl-ref-0cb37ef9c9aa55e1a24816666080b54b554843cb.tar.gz
crawl-ref-0cb37ef9c9aa55e1a24816666080b54b554843cb.zip
The stash-tracker also needs shop SIGHUP protection.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@859 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 2a2f43b0f0..890d6a141c 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -627,7 +627,8 @@ ShopInfo::ShopInfo(int xp, int yp) : x(xp), y(yp), name(), shoptype(-1),
shoptype = sh->type;
}
-ShopInfo::ShopId::ShopId(int stype) : shoptype(stype), id()
+ShopInfo::ShopId::ShopId(int stype)
+ : shopping_hup_protect(), shoptype(stype), id()
{
shop_init_id_type( shoptype, id );
}