summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-27 18:01:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-27 18:01:09 +0000
commit60092f3238efb611253cdbd3c1a047b108c24739 (patch)
treea198250951fff37f9c53079aa3462bf248683137 /src/map/map.c
parentc0422ebdcbd98928a1212a078c89251af7a1113c (diff)
downloadhercules-60092f3238efb611253cdbd3c1a047b108c24739.tar.gz
hercules-60092f3238efb611253cdbd3c1a047b108c24739.tar.bz2
hercules-60092f3238efb611253cdbd3c1a047b108c24739.tar.xz
hercules-60092f3238efb611253cdbd3c1a047b108c24739.zip
Some generic code cleanups (unused struct, user counting, code comment).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14254 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/map.c b/src/map/map.c
index ebeea67a1..b58033f1f 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -179,15 +179,6 @@ int map_getusers(void)
*------------------------------------------*/
int map_usercount(void)
{
-/*
- int count = 0;
- struct s_mapiterator* iter = mapit_getallusers();
- for( mapit_first(iter); mapit_exists(iter); mapit_next(iter) )
- count++;
- mapit_free(iter);
- return count;
-*/
- // since pc_db now only holds fully authed players, this approach is equivalent:
return pc_db->size(pc_db);
}