summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
commitacd557f9472c711fe92b9c158ec336abf688bf7b (patch)
tree2295d13589411ee88afe16f4997bea65b4ebba94 /src/engine.cpp
parentc60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff)
downloadmana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.zip
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index e8f9503c..d205549b 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -47,7 +47,7 @@
#include <assert.h>
Engine::Engine():
- mCurrentMap(0)
+ mCurrentMap(0), mMapName("")
{
}
@@ -56,7 +56,7 @@ Engine::~Engine()
delete mCurrentMap;
}
-bool Engine::changeMap(const std::string &mapPath)
+void Engine::changeMap(const std::string &mapPath)
{
// Clean up floor items, beings and particles
floorItemManager->clear();
@@ -111,8 +111,6 @@ bool Engine::changeMap(const std::string &mapPath)
mCurrentMap = newMap;
Net::getGameHandler()->mapLoaded(mapPath);
-
- return true;
}
void Engine::logic()