summaryrefslogtreecommitdiff
path: root/src/map/mob.h
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/mob.h
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/mob.h')
-rw-r--r--src/map/mob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 6658c96d3..605439f12 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -128,6 +128,7 @@ struct mob_data {
unsigned int spotted: 1;
unsigned int npc_killmonster: 1; //for new killmonster behavior
unsigned int rebirth: 1; // NPC_Rebirth used
+ unsigned int boss : 1;
enum MobSkillState skillstate;
unsigned char steal_flag; //number of steal tries (to prevent steal exploit on mobs with few items) [Lupus]
unsigned char attacked_count; //For rude attacked.
@@ -143,7 +144,6 @@ struct mob_data {
int spawn_timer; //Required for Convex Mirror
struct item *lootitem;
short class_;
- unsigned boss : 1;
unsigned int tdmg; //Stores total damage given to the mob, for exp calculations. [Skotlex]
int level;
int target_id,attacked_id;