summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-14 17:51:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-14 17:51:19 +0000
commit44f55d3305a0e7968fd55bd5aae90572fac1712e (patch)
tree20e587393b85ef8e1529011fbddfa21992a355b0 /src
parent8b4709f97bb93058ca73581925915407fc9e1df7 (diff)
downloadhercules-44f55d3305a0e7968fd55bd5aae90572fac1712e.tar.gz
hercules-44f55d3305a0e7968fd55bd5aae90572fac1712e.tar.bz2
hercules-44f55d3305a0e7968fd55bd5aae90572fac1712e.tar.xz
hercules-44f55d3305a0e7968fd55bd5aae90572fac1712e.zip
- 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
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c3
1 files changed, 3 insertions, 0 deletions
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;
}