diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index fc0eb55f2..1065bb788 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3434,7 +3434,7 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y m=map_mapindex2mapid(mapindex); - if (sd->mapindex != mapindex) + if( (sd->state.changemap = (sd->mapindex != mapindex)) ) { //Misc map-changing settings if (sd->sc.count) { //Cancel some map related stuff. |