summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 03:35:00 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 03:35:00 +0000
commit3238a7ff626d448d6291e33e94e473c728d0d0b7 (patch)
treefac01ea35e1b00fa69d14405b5a80831aa103064 /src/map/pc.h
parentaefef10ae8e198660785b9dbaa267751274ba672 (diff)
downloadhercules-3238a7ff626d448d6291e33e94e473c728d0d0b7.tar.gz
hercules-3238a7ff626d448d6291e33e94e473c728d0d0b7.tar.bz2
hercules-3238a7ff626d448d6291e33e94e473c728d0d0b7.tar.xz
hercules-3238a7ff626d448d6291e33e94e473c728d0d0b7.zip
Added Official behavior to non-ensamble songs: they no longer go off if you warp within the same map. bugreport:4547
Dev Note: I didn't put it under session data cause only bard/gypsy classes use it, I found it to a be a waste. I'm not very comfortable with the dbmap either, however, so if you got any idea on how to make it more efficient lets talk :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15708 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 8c70984e0..e3d810378 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -145,6 +145,7 @@ struct map_session_data {
unsigned short autobonus; //flag to indicate if an autobonus is activated. [Inkfish]
struct guild *gmaster_flag;
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
} state;
struct {
unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;