summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 18:27:56 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-27 18:27:56 +0000
commitb4c187739022b9c2cec149c00f6291bde982b567 (patch)
tree655121a52a3534da1c0d4ab8153d3964fa39b71b /src/engine.cpp
parentef571e7244d94237e59fc95317343da95efea6ce (diff)
downloadmana-b4c187739022b9c2cec149c00f6291bde982b567.tar.gz
mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.bz2
mana-b4c187739022b9c2cec149c00f6291bde982b567.tar.xz
mana-b4c187739022b9c2cec149c00f6291bde982b567.zip
Update stats and status window contents at a single location.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 50e271de..97ba1c2c 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -43,8 +43,6 @@
#include "gui/gui.h"
#include "gui/minimap.h"
-#include "gui/stats.h"
-#include "gui/status.h"
#include "gui/windowcontainer.h"
#include "resources/image.h"
@@ -467,13 +465,6 @@ void Engine::draw()
gcn::Graphics::CENTER);
}
- if (statsWindow->isVisible()) {
- statsWindow->update();
- }
- if (statusWindow->isVisible()) {
- statusWindow->update();
- }
-
std::stringstream debugStream;
debugStream << "[" << fps << " fps] " << mouseTileX << ", " << mouseTileY;