summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 08:04:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-18 08:04:53 +0000
commite8d7a95f9416c67242db5e06fd1743c8f28b3b08 (patch)
treea31a379d1f2e3af7eede623407b4cc0a25b43383 /src/map/mercenary.c
parent5f6a6a2557a90573a504b541a3234f0dc566bf6a (diff)
downloadhercules-e8d7a95f9416c67242db5e06fd1743c8f28b3b08.tar.gz
hercules-e8d7a95f9416c67242db5e06fd1743c8f28b3b08.tar.bz2
hercules-e8d7a95f9416c67242db5e06fd1743c8f28b3b08.tar.xz
hercules-e8d7a95f9416c67242db5e06fd1743c8f28b3b08.zip
Some code cleaning...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11505 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index ff13eacb1..ad30afa2c 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -1163,7 +1163,7 @@ int do_init_merc(void)
//Stock view data for homuncs
memset(&hom_viewdb, 0, sizeof(hom_viewdb));
- for (class_ = 0; class_ < sizeof(hom_viewdb)/sizeof(hom_viewdb[0]); class_++)
+ for (class_ = 0; class_ < ARRAYLENGTH(hom_viewdb); class_++)
hom_viewdb[class_].class_ = HM_CLASS_BASE+class_;
return 0;
}