瀏覽代碼

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5159 54d463be-8e91-2dee-dedb-b68131a5f0ec

Valaris 19 年之前
父節點
當前提交
3983f053ea
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/chrif.c

+ 1 - 0
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]

+ 1 - 1
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