From 3238a7ff626d448d6291e33e94e473c728d0d0b7 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 18 Mar 2012 03:35:00 +0000 Subject: 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 --- src/map/pc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/pc.c') 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; -- cgit v1.2.3-60-g2f50