diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index fb024a4ea..98b6534c3 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2615,8 +2615,14 @@ int parse_frommap(int fd) { mmo_char_tosql(cid, &char_dat);
}
- if (RFIFOB(fd,12)) //Flag? Set character offline after saving [Skotlex]
+ if (RFIFOB(fd,12))
+ { //Flag? Set character offline after saving [Skotlex]
set_char_offline(cid, aid);
+ WFIFOW(fd, 0) = 0x2b21; //Save ack only needed on final save.
+ WFIFOL(fd, 2) = aid;
+ WFIFOL(fd, 6) = cid;
+ WFIFOSET(fd, 10);
+ }
RFIFOSKIP(fd,size);
break;
}
|