diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-05 21:22:16 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-05 21:22:16 +0000 |
commit | 7429ba62b4e815a44864b92e13d125e872209ed6 (patch) | |
tree | 89bbcdf37c1915696ac4c155b0ffd99c1f83c36b /src/engine.cpp | |
parent | 34b19f52d2f4a0b8e7eecf0900d1760460390b9d (diff) | |
download | mana-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.cpp | 5 |
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; |