summaryrefslogtreecommitdiff
path: root/src/game.cpp
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/game.cpp
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/game.cpp')
-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++)