summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index c540ea64c..d4f0c5c80 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10634,9 +10634,14 @@ void clif_parse_ResetChar(int fd, struct map_session_data *sd)
if( RFIFOW(fd,2) )
pc_resetskill(sd,1);
- else
+ else {
pc_resetstate(sd);
-
+ if( sd->mission_mobid ) { //bugreport:2200
+ sd->mission_mobid = 0;
+ sd->mission_count = 0;
+ pc_setglobalreg(sd,"TK_MISSION_ID", 0);
+ }
+ }
log_atcommand(sd, get_atcommand_level("reset"), RFIFOW(fd,2) ? "/resetskill" : "/resetstate");
}