summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-05 15:26:00 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-05 15:26:00 +0000
commitf60331c066516e449c00648f1d8fa4df871884ea (patch)
tree768a8bde66d7ecc8716af3acffab900e2e20472c /crawl-ref/source/mapdef.cc
parent7dab95158865a69a9dc3c79af4027c780507efb7 (diff)
downloadcrawl-ref-f60331c066516e449c00648f1d8fa4df871884ea.tar.gz
crawl-ref-f60331c066516e449c00648f1d8fa4df871884ea.zip
Fixed map items being carried forward to all subsequent maps (Erik).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@789 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index fc97d29148..878dfa4bf4 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -312,6 +312,7 @@ void map_def::init()
name.clear();
tags.clear();
place.clear();
+ items.clear();
depth.reset();
orient = MAP_NONE;