summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-29 10:58:35 -0200
committershennetsind <ind@henn.et>2013-11-29 10:58:35 -0200
commit098dbcf672e04657553b9f1629550e6bc8771af3 (patch)
tree6dfe6dd587591249faf9d278c1da8d3c71d30a66 /src/map/pc.h
parent61b02a2b161deb19be4de8e627ebe0f4ffd9a238 (diff)
downloadhercules-098dbcf672e04657553b9f1629550e6bc8771af3.tar.gz
hercules-098dbcf672e04657553b9f1629550e6bc8771af3.tar.bz2
hercules-098dbcf672e04657553b9f1629550e6bc8771af3.tar.xz
hercules-098dbcf672e04657553b9f1629550e6bc8771af3.zip
Minor improvement
pc_checkitem is now triggered by @reloaditemdb to ensure modified conditions are respected, also a performance boost that causes the itemlist/cartlist/storagelist/gstoragelist lookups to only be triggered on demand instead of on every teleport. Closes #219 Fixed ancient monster ai bug that caused mobs to consider themselves elegible targets, which would waste status_check_skilluse and battle_check_target calls. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index f10bd0f59..2c802a896 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -179,6 +179,7 @@ struct map_session_data {
unsigned int hold_recalc : 1;
unsigned int snovice_call_flag : 3; //Summon Angel (stage 1~3)
unsigned int hpmeter_visible : 1;
+ unsigned int itemcheck : 1;
} state;
struct {
unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;