summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
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()