diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-01-13 21:58:21 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-01-13 21:58:21 +0000 |
commit | f0a3f100f1c21e41447a420f8a729f2fb46c31eb (patch) | |
tree | 4a459a14d1df17c31ed9f14580ccea13ac6f58c9 /src/main.cpp | |
parent | 50f46449cc04e085b3fbbc821f9108be5e23f715 (diff) | |
download | manaserv-f0a3f100f1c21e41447a420f8a729f2fb46c31eb.tar.gz manaserv-f0a3f100f1c21e41447a420f8a729f2fb46c31eb.tar.bz2 manaserv-f0a3f100f1c21e41447a420f8a729f2fb46c31eb.tar.xz manaserv-f0a3f100f1c21e41447a420f8a729f2fb46c31eb.zip |
Made minimum client version and default map id configurable, set/getMapId are now preferred.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index cb261b7c..720417c4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,6 +30,9 @@ #if (defined __USE_UNIX98 || defined __FreeBSD__) #include "../config.h" +#elif defined WIN32 +#include "../tmwserv_private.h" +#define PACKAGE_VERSION PRODUCT_VERSION #endif #include "accounthandler.h" @@ -337,11 +340,7 @@ void parseOptions(int argc, char *argv[]) */ int main(int argc, char *argv[]) { -#ifdef PACKAGE_VERSION LOG_INFO("The Mana World Server v" << PACKAGE_VERSION, 0) -#else - LOG_INFO("The Mana World Server v" << DEFAULT_PACKAGE_VERSION, 0) -#endif // Parse Command Line Options parseOptions(argc, argv); |