diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-10-20 00:51:25 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-10-20 00:51:25 +0000 |
commit | 80f7db7a84fb73d8266d872f56af108ed49ba2eb (patch) | |
tree | 1629aa705ebdc1a5c38a2e2e6091bcec715fd346 /src/main.cpp | |
parent | f258986ba1184a0199e0bc241d68919a438eef29 (diff) | |
download | manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.gz manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.bz2 manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.tar.xz manaserv-80f7db7a84fb73d8266d872f56af108ed49ba2eb.zip |
Simplified item status effect implementation. Made it all work, and filled items.xml with about 100 items. To come: maxPerSlot and weaponType parameters.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9516efbd..08475d4a 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 |