summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 07:34:49 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 07:34:49 +0200
commit870fa2b6005efb046e12888eb2062a3ec611fe5a (patch)
treed6ba45f08a6ccec7b0fb22af5e1ee62bf13cae9a /src/map/pc.h
parent9a06857cc3ad2ad8f00b52ccc33f6c07342ad985 (diff)
downloadhercules-870fa2b6005efb046e12888eb2062a3ec611fe5a.tar.gz
hercules-870fa2b6005efb046e12888eb2062a3ec611fe5a.tar.bz2
hercules-870fa2b6005efb046e12888eb2062a3ec611fe5a.tar.xz
hercules-870fa2b6005efb046e12888eb2062a3ec611fe5a.zip
Add state using_megaphone to struct map_session_data and implement its (un)setting
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 f2e911af3..074c01a13 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -224,6 +224,7 @@ struct map_session_data {
unsigned int size :2; // for tiny/large types
unsigned int night :1; //Holds whether or not the player currently has the SI_NIGHT effect on. [Skotlex]
unsigned int using_fake_npc :1;
+ unsigned int using_megaphone : 1; //!< Whether the character is currently using a Megephone (ID=12221).
unsigned int rewarp :1; //Signals that a player should warp as soon as he is done loading a map. [Skotlex]
unsigned int killer : 1;
unsigned int killable : 1;