summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-20 09:48:20 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-20 09:48:20 +0000
commitacb92c94cae29a2e516b1f77101889f7d043bf85 (patch)
treeaae252574dbb089be259309395f4bfb71e9e36a7 /src/map/mob.c
parentb240a78c9fc934bfba8e918c7a058fe04953136e (diff)
downloadhercules-acb92c94cae29a2e516b1f77101889f7d043bf85.tar.gz
hercules-acb92c94cae29a2e516b1f77101889f7d043bf85.tar.bz2
hercules-acb92c94cae29a2e516b1f77101889f7d043bf85.tar.xz
hercules-acb92c94cae29a2e516b1f77101889f7d043bf85.zip
fixed @storage / @gstorage
started using MAX_MOB_DB git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1256 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 833332b89..584d9de2e 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -32,10 +32,8 @@
#define MOB_LAZYMOVEPERC 50 // Move probability in the negligent mode MOB (rate of 1000 minute)
#define MOB_LAZYWARPPERC 20 // Warp probability in the negligent mode MOB (rate of 1000 minute)
-#define MAX_MOB_DB 2000 /* Change this to increase the table size in your mob_db to accomodate
- numbers more than 2000 for mobs if you want to (and know what you're doing).
- Be sure to note that 4001 to 4047 are for advanced classes. */
-struct mob_db mob_db[2001];
+
+struct mob_db mob_db[MAX_MOB_DB+1];
#define CLASSCHANGE_BOSS_NUM 21