summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-13 12:53:11 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-13 12:53:11 +0000
commit3b1dd44c88484af3585bcfea0e94994330383019 (patch)
tree00e0c8cee3d8329079e6c5e93b6337c6567ac28a /src/common/mapindex.c
parent9d1b39d3facc6d9f1268e036e7b23bd410c683ec (diff)
downloadhercules-3b1dd44c88484af3585bcfea0e94994330383019.tar.gz
hercules-3b1dd44c88484af3585bcfea0e94994330383019.tar.bz2
hercules-3b1dd44c88484af3585bcfea0e94994330383019.tar.xz
hercules-3b1dd44c88484af3585bcfea0e94994330383019.zip
* Cleaned up command @users/#users:
- displays everything on the target user (self for @users) - uses a static array instead of a temporary DBMap - displays percentages with precision of 0.01% - uses safesnprintf instead of sprintf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13446 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r--src/common/mapindex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index b76a838be..4aef69574 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -11,8 +11,6 @@
#include <stdio.h>
#include <stdlib.h>
-#define MAX_MAPINDEX 2000
-
struct _indexes {
char name[MAP_NAME_LENGTH]; //Stores map name
} indexes[MAX_MAPINDEX];