From 50f46449cc04e085b3fbbc821f9108be5e23f715 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Thu, 12 Jan 2006 14:50:39 +0000 Subject: Fixed default map definition for a new created character, enabled loading of map when a character is on it, fixed inconsistency in getter/setter for map id. --- src/main.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b915b4d..cb261b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -37,7 +37,6 @@ #include "configuration.h" #include "connectionhandler.h" #include "gamehandler.h" -#include "mapmanager.h" #include "netsession.h" #include "resourcemanager.h" #include "skill.h" @@ -237,11 +236,6 @@ void initialize() // Initialize PhysicsFS PHYSFS_init(""); - - // TODO: only a test, maps should be loaded as they are needed - tmwserv::MapManager::instance().loadMap(1); - tmwserv::MapManager::instance().reloadMap(1); - tmwserv::MapManager::instance().unloadMap(1); } -- cgit