From ac5375e554e882e0b56eeed9b6e51c06c8d37656 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sat, 22 Sep 2007 18:45:57 +0000 Subject: Cleaned both configuration and resource managers. --- src/account-server/dalstorage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/account-server/dalstorage.cpp') diff --git a/src/account-server/dalstorage.cpp b/src/account-server/dalstorage.cpp index 08b149e..2fe9c69 100644 --- a/src/account-server/dalstorage.cpp +++ b/src/account-server/dalstorage.cpp @@ -25,13 +25,13 @@ #include "account-server/dalstorage.hpp" -#include "configuration.h" #include "point.h" #include "account-server/account.hpp" #include "account-server/guild.hpp" #include "account-server/guildmanager.hpp" #include "account-server/dalstoragesql.hpp" #include "chat-server/chatchannel.hpp" +#include "common/configuration.hpp" #include "dal/dalexcept.h" #include "dal/dataproviderfactory.h" #include "utils/functors.h" @@ -297,7 +297,7 @@ Character *DALStorage::getCharacterBySQL(std::string const &query, Account *owne { // Set character to default map and one of the default location // Default map is to be 1, as not found return value will be 0. - character->setMapId((int)config.getValue("defaultMap", 1)); + character->setMapId(Configuration::getValue("defaultMap", 1)); } /* Fill the account-related fields. Last step, as it may require a new -- cgit