diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-17 06:44:47 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-17 06:44:47 +0000 |
commit | e086d5eefd17d2977bd4b84aaf9f9631ae154700 (patch) | |
tree | 13a00c20476f0fa21bfa168a612732bddc427f6a /crawl-ref/source/tags.cc | |
parent | b8b9746bd48eaad7b7489948b640cb6c650ec81c (diff) | |
download | crawl-ref-e086d5eefd17d2977bd4b84aaf9f9631ae154700.tar.gz crawl-ref-e086d5eefd17d2977bd4b84aaf9f9631ae154700.zip |
Fixed id array being clobbered if Crawl receives SIGHUP with the player in a
shop.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@858 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index e2d1f13b55..88982c10af 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -837,9 +837,9 @@ static void tag_construct_you_items(struct tagHeader &th) // this is really dumb. We copy the id[] array from itemname // to the stack, for no good reason that I can see. - char identy[4][50]; + id_arr identy; - save_id(identy); + save_id(identy, true); for (i = 0; i < 4; ++i) { |