From 80f7db7a84fb73d8266d872f56af108ed49ba2eb Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Fri, 20 Oct 2006 00:51:25 +0000 Subject: Simplified item status effect implementation. Made it all work, and filled items.xml with about 100 items. To come: maxPerSlot and weaponType parameters. --- src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9516efb..08475d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,8 +76,6 @@ std::string scriptLanugage = "none"; #define DEFAULT_LOG_FILE "tmwserv.log" #define DEFAULT_CONFIG_FILE "tmwserv.xml" #define DEFAULT_ITEMSDB_FILE "items.xml" -#define DEFAULT_MAP_FOLDER "maps" -#define DEFAULT_DATA_FOLDER "data" #ifndef DEFAULT_SERVER_PORT #define DEFAULT_SERVER_PORT 9601 // Meaning Account Handler Port is 9601 @@ -177,7 +175,7 @@ void initialize() // Initialize the Chat channels manager chatChannelManager = new ChatChannelManager(); // Initialize the Item Manager - itemManager = new ItemManager(DEFAULT_DATA_FOLDER"/"DEFAULT_ITEMSDB_FILE); + itemManager = new ItemManager(DEFAULT_ITEMSDB_FILE); // --- Initialize the global handlers // FIXME: Make the global handlers global vars or part of a bigger -- cgit