summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-07 15:29:24 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-07 15:29:24 +0000
commit752030de0bf089cb360cd8ccffeb7db278e2504c (patch)
tree8d1a85d9ad7b7a8b4f4bdc109e1046da7143b75d /src/map/pc.h
parent5ced9134785c9c5c540eb484c893fe17a4a5bf3f (diff)
downloadhercules-752030de0bf089cb360cd8ccffeb7db278e2504c.tar.gz
hercules-752030de0bf089cb360cd8ccffeb7db278e2504c.tar.bz2
hercules-752030de0bf089cb360cd8ccffeb7db278e2504c.tar.xz
hercules-752030de0bf089cb360cd8ccffeb7db278e2504c.zip
Added a flag to indicate if the script of an autobonus was parsed for the sake of resource saving.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14129 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 02fab8882..19db45465 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -130,7 +130,8 @@ struct map_session_data {
unsigned int bg_id;
unsigned skillonskill : 1;
unsigned short user_font;
- unsigned short autobonus;
+ unsigned short script_parsed; //flag to indicate if the script of an autobonus is parsed. [Inkfish]
+ unsigned short autobonus; //flag to indicate if an autobonus is activated. [Inkfish]
} state;
struct {
unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;