diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-16 17:09:43 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-16 17:09:43 +0000 |
commit | c021f63e10a7dca24119e436e2450e0bbb2266a3 (patch) | |
tree | 481effe6e7aa8c7467b7bc6dc0e43570365515bd /src/map/map.c | |
parent | 718ea60b21903731c02613164262f6b81d0e08fb (diff) | |
download | hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.gz hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.bz2 hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.xz hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.zip |
- Removed outdated version number handling (follow-up to r11503).
- Fixed mapcache compilation issues in Linux.
- Added some missing `svn:ignore` properties.
- Moved `BLOCK_SIZE` definition from header to source file.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15586 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/map.c b/src/map/map.c index fd6f41202..4677e8753 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -8,7 +8,6 @@ #include "../common/malloc.h" #include "../common/socket.h" // WFIFO*() #include "../common/showmsg.h" -#include "../common/version.h" #include "../common/nullpo.h" #include "../common/random.h" #include "../common/strlib.h" @@ -105,6 +104,7 @@ static DBMap* regen_db=NULL; // int id -> struct block_list* (status_natural_hea static int map_users=0; +#define BLOCK_SIZE 8 #define block_free_max 1048576 struct block_list *block_free[block_free_max]; static int block_free_count = 0, block_free_lock = 0; @@ -3553,12 +3553,10 @@ static void map_helpscreen(bool do_exit) *------------------------------------------------------*/ static void map_versionscreen(bool do_exit) { - ShowInfo(CL_WHITE"RAthena version %d.%02d.%02d, Athena Mod version %d" CL_RESET"\n", ATHENA_MAJOR_VERSION, ATHENA_MINOR_VERSION, ATHENA_REVISION, ATHENA_MOD_VERSION); + ShowInfo(CL_WHITE"rAthena SVN version: %s" CL_RESET"\n", get_svn_revision()); ShowInfo(CL_GREEN"Website/Forum:"CL_RESET"\thttp://rathena.org/\n"); - ShowInfo(CL_GREEN"IRC Channel:"CL_RESET"\tirc://irc.rizon.net/#rthena\n"); + ShowInfo(CL_GREEN"IRC Channel:"CL_RESET"\tirc://irc.rathena.net/#rathena\n"); ShowInfo("Open "CL_WHITE"readme.html"CL_RESET" for more information.\n"); - if(ATHENA_RELEASE_FLAG) - ShowNotice("This version is not for release.\n"); if( do_exit ) exit(EXIT_SUCCESS); } |