summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}