diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-04 23:12:46 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-04 23:12:46 -0600 |
commit | dc2009d1a3b30b0742c3e59788e6277f7c497f6e (patch) | |
tree | 11b1f2604a6fd1ba93ee764b77f741a06fa7e715 /src | |
parent | aa6a162574e872fc37d98c1a15cb00b6fc57863d (diff) | |
download | tmwa-dc2009d1a3b30b0742c3e59788e6277f7c497f6e.tar.gz tmwa-dc2009d1a3b30b0742c3e59788e6277f7c497f6e.tar.bz2 tmwa-dc2009d1a3b30b0742c3e59788e6277f7c497f6e.tar.xz tmwa-dc2009d1a3b30b0742c3e59788e6277f7c497f6e.zip |
Send a better packet when a character is deleted
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index 366fd8f..f7cb491 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1487,10 +1487,10 @@ static int char_delete(struct mmo_charstatus *cs) { if (cs->partner_id) char_divorce(cs); - // Fake account deletion to kick all active chars on the account (closes a loophole that allows chars to exist on a map server after being deleted) + // Force the character (and all on the same account) to leave all map servers { unsigned char buf[6]; - WBUFW(buf,0) = 0x2b13; + WBUFW(buf,0) = 0x2afe; WBUFL(buf,2) = cs->account_id; mapif_sendall(buf, 6); } |