diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-08 13:44:59 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-08 13:44:59 +0000 |
commit | 0ba846818fcfd01142c0c615adc487e342e5f243 (patch) | |
tree | d64ffda232ca713751c8148f23b89035acc9fbf3 | |
parent | 3dd232484330146fb71667518b15c018678492d9 (diff) | |
download | mana-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/game.cpp | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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++) |