From 44f55d3305a0e7968fd55bd5aae90572fac1712e Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 14 Sep 2006 17:51:19 +0000 Subject: - Added deleting of saved Status changes on character delete for the Char-TXT server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8759 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index 50586a921..4e42e9a5e 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1899,6 +1899,9 @@ static int char_delete(struct mmo_charstatus *cs) { // char_divorce(cs); } +#ifdef ENABLE_SC_SAVING + status_delete_scdata(cs->account_id, cs->char_id); +#endif return 0; } -- cgit v1.2.3-70-g09d2