summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-14 12:07:33 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-14 12:07:33 +0000
commit0f68ad394abe13e2374f84f02ac1b04e62fe406e (patch)
tree83361e37d4268ccbb1164d54636a2fde6aa61a51 /src/map/npc.c
parent1a89ef9c1411199ebdfdf87837613a35b72914f1 (diff)
downloadhercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.gz
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.bz2
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.tar.xz
hercules-0f68ad394abe13e2374f84f02ac1b04e62fe406e.zip
* Moved bitfield 'boss' inside 'spawn_data' and 'mob_data' into the respective state struct (from r13813, follow up to r14795).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14818 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index c5c18aea0..d070b6886 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2705,7 +2705,7 @@ static const char* npc_parse_mob(char* w1, char* w2, char* w3, char* w4, const c
memset(&mob, 0, sizeof(struct spawn_data));
- mob.boss = !strcmpi(w2,"boss_monster");
+ mob.state.boss = !strcmpi(w2,"boss_monster");
// w1=<map name>,<x>,<y>,<xs>,<ys>
// w4=<mob id>,<amount>,<delay1>,<delay2>,<event>