summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-05 21:22:16 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-05 21:22:16 +0000
commit7429ba62b4e815a44864b92e13d125e872209ed6 (patch)
tree89bbcdf37c1915696ac4c155b0ffd99c1f83c36b /src/engine.cpp
parent34b19f52d2f4a0b8e7eecf0900d1760460390b9d (diff)
downloadmana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.gz
mana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.bz2
mana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.xz
mana-7429ba62b4e815a44864b92e13d125e872209ed6.zip
Remove some useless code.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 9f5106bd..2fa3257e 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -60,6 +60,7 @@ Spriteset *weaponset;
Engine::Engine():
+ mShowDebugPath(false),
mCurrentMap(NULL)
{
// Load the sprite sets
@@ -177,6 +178,8 @@ void Engine::logic()
beingIterator++;
}
}
+
+ gui->logic();
}
void Engine::draw(Graphics *graphics)
@@ -215,7 +218,7 @@ void Engine::draw(Graphics *graphics)
// Find a path from the player to the mouse, and draw it. This is for debug
// purposes.
- if (displayPathToMouse && mCurrentMap != NULL)
+ if (mShowDebugPath && mCurrentMap != NULL)
{
// Get the current mouse position
int mouseX, mouseY;