summaryrefslogtreecommitdiff
path: root/src/map/script.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/script.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/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 0f3018ec8..449c4ba52 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7473,7 +7473,7 @@ BUILDIN_FUNC(areamonster)
char *event=va_arg(ap,char *);
int allflag=va_arg(ap,int);
- md->npc_killmonster = 1;
+ md->state.npc_killmonster = 1;
if(!allflag){
if(strcmp(event,md->npc_event)==0)
@@ -7482,7 +7482,7 @@ BUILDIN_FUNC(areamonster)
if(!md->spawn)
status_kill(bl);
}
- md->npc_killmonster = 0;
+ md->state.npc_killmonster = 0;
return 0;
}
static int buildin_killmonster_sub(struct block_list *bl,va_list ap)