summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--src/game.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d40f1fd2..96ad453c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-08 Björn Steinbrink <B.Steinbrink@gmx.de>
+
+ * src/game.cpp: Clean the floor items when the map changes.
+
2005-08-30 Eugenio Favalli <elvenprogrammer@gmail.com>
* README, The Mana World.dev, data/graphics/sprites/items.png,
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++)