Selaa lähdekoodia

- Fixed wedding sprite staying active after unequip.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6719 54d463be-8e91-2dee-dedb-b68131a5f0ec
Zido 19 vuotta sitten
vanhempi
commit
3d73de5545
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 1 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/pc.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ 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/05/23
+	* Fixed wedding sprite where it would stay active after unequipping. [Zido]
 	* Some cleanup of run_script, should fix the memory leak there. [Skotlex]
 	* the charname request hack message has been downgraded to only include
 	  GM-invisible characters. [Skotlex]

+ 1 - 0
src/map/pc.c

@@ -5458,6 +5458,7 @@ int pc_setoption(struct map_session_data *sd,int type)
 		}
 	}
 
+	clif_changeoption(&sd->bl);
 	status_calc_pc(sd,0);
 	return 0;
 }