summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-05 07:54:53 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-05 07:54:53 +0000
commite290f7f88054c00c44e00fc1e76fb158c549051e (patch)
tree13dd63a93374f48039bc7df5b6c3e54992158aa8 /src/map/mob.c
parent33f5d1d9ad24c4b69f43191dedfe6cd9a9d76721 (diff)
downloadhercules-e290f7f88054c00c44e00fc1e76fb158c549051e.tar.gz
hercules-e290f7f88054c00c44e00fc1e76fb158c549051e.tar.bz2
hercules-e290f7f88054c00c44e00fc1e76fb158c549051e.tar.xz
hercules-e290f7f88054c00c44e00fc1e76fb158c549051e.zip
* Moved the mob killmonster flag to a more appropriate area. (bugreport:1795)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12914 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 5ff325ad1..9abdd54e7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2545,7 +2545,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(md->nd)
mob_script_callback(md, src, CALLBACK_DEAD);
else
- if(md->npc_event[0] && !md->npc_killmonster)
+ if(md->npc_event[0] && !md->state.npc_killmonster)
{
md->status.hp = 0; //So that npc_event invoked functions KNOW that I am dead.
if(src)