From 2f68a9da7121ab2adaa70ff257577ee596b4c4ee Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 26 Mar 2012 20:04:36 +0200 Subject: 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 --- src/game-server/mapcomposite.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/game-server/mapcomposite.cpp') 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) { -- cgit v1.2.3-70-g09d2