summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-26 16:17:56 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-26 16:17:56 +0000
commit07d2f44209ada71361f6c3b10fb67f5d7d44ccc7 (patch)
tree33d72bbd13f9aa41b9347ff6ea500806cc669362 /src
parent9442d178d287050bf9f3c42a520a5d85d6081e3e (diff)
downloadhercules-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
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c2
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)
{