diff options
Diffstat (limited to 'tools/mapedit/src/world.cpp')
-rw-r--r-- | tools/mapedit/src/world.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/mapedit/src/world.cpp b/tools/mapedit/src/world.cpp index 4c42593..f7b541d 100644 --- a/tools/mapedit/src/world.cpp +++ b/tools/mapedit/src/world.cpp | |||
@@ -367,3 +367,8 @@ const std::map<int, std::shared_ptr<Map>> World::getMaps() const | |||
367 | { | 367 | { |
368 | return maps; | 368 | return maps; |
369 | } | 369 | } |
370 | |||
371 | void World::setLastMap(Map* map) | ||
372 | { | ||
373 | lastmap = map->getID(); | ||
374 | } | ||