summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/char/char.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 11b4fa04b..19f83cbd2 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/09/14
+ * Added deleting of saved Status changes on character delete for the
+ Char-TXT server. [Skotlex]
* Fixed the can-act delay never being checked when requesting to use
Homunculus Skills. [Skotlex]
* Fixed warmth skills draining SP of the target, not the caster. [Skotlex]
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;
}