summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index a6cad8b8..4a637777 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -28,7 +28,7 @@
#include "being.h"
#include "beingmanager.h"
-#include "floor_item.h"
+#include "flooritemmanager.h"
#include "game.h"
#include "graphics.h"
#include "localplayer.h"
@@ -114,7 +114,7 @@ Map *Engine::getCurrentMap()
void Engine::changeMap(std::string mapPath)
{
// Clean up floor items
- empty_floor_items();
+ floorItemManager->clear();
beingManager->clear();