summaryrefslogtreecommitdiff
path: root/src/game-server/mapcomposite.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-26 20:04:36 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-26 20:04:49 +0200
commit2f68a9da7121ab2adaa70ff257577ee596b4c4ee (patch)
treed858a2eb16f2a89a856015a15396b87b835d12cd /src/game-server/mapcomposite.cpp
parent53b547b11fb3c34bd6e2ae0bae0090f2677ef529 (diff)
downloadmanaserv-2f68a9da7121ab2adaa70ff257577ee596b4c4ee.tar.gz
manaserv-2f68a9da7121ab2adaa70ff257577ee596b4c4ee.tar.bz2
manaserv-2f68a9da7121ab2adaa70ff257577ee596b4c4ee.tar.xz
manaserv-2f68a9da7121ab2adaa70ff257577ee596b4c4ee.zip
Some general cleanups and merged Being::perform() into update()
The main change here is to remove the separate calling of 'perform' on all beings, and rather rely on the beings to do whatever they were doing in that function when the virtual 'update' function is called. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/game-server/mapcomposite.cpp')
-rw-r--r--src/game-server/mapcomposite.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game-server/mapcomposite.cpp b/src/game-server/mapcomposite.cpp
index 7d377d18..2c601183 100644
--- a/src/game-server/mapcomposite.cpp
+++ b/src/game-server/mapcomposite.cpp
@@ -625,12 +625,6 @@ void MapComposite::update()
s->execute();
}
- // Perform actions
- for (BeingIterator it(getWholeMapIterator()); it; ++it)
- {
- (*it)->perform();
- }
-
// Move objects around and update zones.
for (BeingIterator it(getWholeMapIterator()); it; ++it)
{