summaryrefslogtreecommitdiff
path: root/src/map/pc.c
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.c
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.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 276ccf73a..cdf3bef52 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4372,6 +4372,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
}
sd->state.changemap = (sd->mapindex != mapindex);
+ sd->state.warping = 1;
if( sd->state.changemap )
{ // Misc map-changing settings
sd->state.pmap = sd->bl.m;