summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-08 13:44:59 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-08 13:44:59 +0000
commit0ba846818fcfd01142c0c615adc487e342e5f243 (patch)
treed64ffda232ca713751c8148f23b89035acc9fbf3 /src
parent3dd232484330146fb71667518b15c018678492d9 (diff)
downloadmana-0ba846818fcfd01142c0c615adc487e342e5f243.tar.gz
mana-0ba846818fcfd01142c0c615adc487e342e5f243.tar.bz2
mana-0ba846818fcfd01142c0c615adc487e342e5f243.tar.xz
mana-0ba846818fcfd01142c0c615adc487e342e5f243.zip
Clean the floor items when the map changes.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 8f7f3aa5..80cec17d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1372,6 +1372,8 @@ void do_parse()
if (tiledMap)
{
+ empty_floor_items();
+
// Delete all beings except the local player
std::list<Being *>::iterator i;
for (i = beings.begin(); i != beings.end(); i++)