summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-18 00:02:34 -0300
committershennetsind <ind@henn.et>2013-07-18 00:02:34 -0300
commit586c0f7983f81e97ca70c57712e25d4d51453d6b (patch)
tree8347a69204d7b02bd258da68b797ea6693b36938 /src/map/pc.h
parent857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65 (diff)
downloadhercules-586c0f7983f81e97ca70c57712e25d4d51453d6b.tar.gz
hercules-586c0f7983f81e97ca70c57712e25d4d51453d6b.tar.bz2
hercules-586c0f7983f81e97ca70c57712e25d4d51453d6b.tar.xz
hercules-586c0f7983f81e97ca70c57712e25d4d51453d6b.zip
Fixed guild aura not going away on guild-break/expell
Also modified sd->state.gmaster_flag from struct to a 'unsigned int : 1;' flag as sd->guild already stores the pointer and was thus a duplicate. Special Thanks to Haru, Xgear Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index c21258dd7..a69c77efe 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -158,7 +158,7 @@ struct map_session_data {
unsigned short autolootid[AUTOLOOTITEM_SIZE]; // [Zephyrus]
unsigned int autolooting : 1; //performance-saver, autolooting state for @alootid
unsigned short autobonus; //flag to indicate if an autobonus is activated. [Inkfish]
- struct guild *gmaster_flag;
+ unsigned int gmaster_flag : 1;
unsigned int prevend : 1;//used to flag wheather you've spent 40sp to open the vending or not.
unsigned int warping : 1;//states whether you're in the middle of a warp processing
unsigned int permanent_speed : 1; // When 1, speed cannot be changed through status_calc_pc().