summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/chrif.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 81d2586da..3c02459fc 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/02/01
+ * Fixed typo in chrif.c causing compilation error (sd->sc_data => sd->sc.data) [Valaris]
* Map and char server now will complain if they are run using the default
user/password set. [Skotlex]
* Trick Dead makes you stop walking now. [Skotlex]
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 70734d592..ffdb21cd3 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1158,7 +1158,7 @@ int chrif_save_scdata(struct map_session_data *sd)
#ifndef TXT_ONLY
if(charsave_method) //New 'Local' save
{
- charsave_save_scdata(sd->status.account_id, sd->status.char_id, sd->sc_data, MAX_STATUSCHANGE);
+ charsave_save_scdata(sd->status.account_id, sd->status.char_id, sd->sc.data, MAX_STATUSCHANGE);
return 0;
}
#endif