diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-26 16:17:56 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-26 16:17:56 +0000 |
commit | 07d2f44209ada71361f6c3b10fb67f5d7d44ccc7 (patch) | |
tree | 33d72bbd13f9aa41b9347ff6ea500806cc669362 | |
parent | 9442d178d287050bf9f3c42a520a5d85d6081e3e (diff) | |
download | hercules-07d2f44209ada71361f6c3b10fb67f5d7d44ccc7.tar.gz hercules-07d2f44209ada71361f6c3b10fb67f5d7d44ccc7.tar.bz2 hercules-07d2f44209ada71361f6c3b10fb67f5d7d44ccc7.tar.xz hercules-07d2f44209ada71361f6c3b10fb67f5d7d44ccc7.zip |
Fixed segmentation fault at server shutdown caused by r15521.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15522 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index f25c9ba8a..199c09dd6 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4550,7 +4550,7 @@ int do_final_mob(void) mob_chat_db[i] = NULL; } } - for (i = 0; i <= MAX_ITEMDB; i++) + for (i = 0; i < MAX_ITEMDB; i++) { if (item_drop_ratio_db[i] != NULL) { |