summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 07:07:59 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 07:07:59 +0000
commit9df3b0b2c5469afaba385dbfdadc973830c00ce2 (patch)
treea5c33b6796196f1c6b35c6340a3f6b9e8699c4ca /src/map/mob.c
parent079b0157248c4c67618717288164ace6053c7d69 (diff)
downloadhercules-9df3b0b2c5469afaba385dbfdadc973830c00ce2.tar.gz
hercules-9df3b0b2c5469afaba385dbfdadc973830c00ce2.tar.bz2
hercules-9df3b0b2c5469afaba385dbfdadc973830c00ce2.tar.xz
hercules-9df3b0b2c5469afaba385dbfdadc973830c00ce2.zip
[Fixed]
- Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing. - Compilation warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6835 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-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 9b18dcd15..8fb6e70f7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1744,7 +1744,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
tmpsd[temp] = map_charid2sd(md->dmglog[i].id);
if(tmpsd[temp] == NULL)
continue;
- if(tmpsd[temp]->bl.m != md->bl.m || pc_isdead(tmpsd[i]))
+ if(tmpsd[temp]->bl.m != md->bl.m || pc_isdead(tmpsd[temp]))
continue;
temp++;