Jelajahi Sumber

Player shops will not close on death anymore (bugreport:1955).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13036 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 tahun lalu
induk
melakukan
33378b7039
2 mengubah file dengan 2 tambahan dan 4 penghapusan
  1. 2 0
      Changelog-Trunk.txt
  2. 0 4
      src/map/pc.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2008/08/02
+	* Player shops will not close on death anymore (bugreport:1955)
 2008/08/01
 	* Removed unused guardian hp columns from the castles table in main.sql.
 	* Corrected incorrect use of the datetime column in the `login` table. [ultramage]

+ 0 - 4
src/map/pc.c

@@ -31,7 +31,6 @@
 #include "script.h" // script_config
 #include "skill.h"
 #include "status.h" // struct status_data
-#include "vending.h" // vending_closevending()
 #include "pc.h"
 #include "quest.h"
 
@@ -4902,9 +4901,6 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
 	int i=0,j=0,k=0;
 	unsigned int tick = gettick();
 		
-	if(sd->vender_id)
-		vending_closevending(sd);
-
 	for(k = 0; k < 5; k++)
 	if (sd->devotion[k]){
 		struct map_session_data *devsd = map_id2sd(sd->devotion[k]);