summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 16:44:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 16:44:27 +0000
commit1d855c939fc2f8614dd118e867bdff58361ff20b (patch)
treef227e9ffcbcaa8619868af17f464ada285fbffaf /src/map/mob.c
parentd498758d8bd5c46897ab34914757c98b16a066da (diff)
downloadhercules-1d855c939fc2f8614dd118e867bdff58361ff20b.tar.gz
hercules-1d855c939fc2f8614dd118e867bdff58361ff20b.tar.bz2
hercules-1d855c939fc2f8614dd118e867bdff58361ff20b.tar.xz
hercules-1d855c939fc2f8614dd118e867bdff58361ff20b.zip
- Whoops, fixed compilation issue on mob_dead.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7210 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 2c93bb4ba..472d1ba22 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2083,7 +2083,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
log_mvpdrop(mvp_sd, md->class_, log_mvp);
}
- if (flag&2 && !sd && md->class_ == MOBID_EMPERIUM)
+ if (type&2 && !sd && md->class_ == MOBID_EMPERIUM)
//Emperium destroyed by script. Discard mvp character. [Skotlex]
mvp_sd = NULL;