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
This commit is contained in:
ultramage 2008-08-02 14:27:43 +00:00
parent eb99fad326
commit 33378b7039
2 changed files with 2 additions and 4 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. 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. 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 2008/08/01
* Removed unused guardian hp columns from the castles table in main.sql. * Removed unused guardian hp columns from the castles table in main.sql.
* Corrected incorrect use of the datetime column in the `login` table. [ultramage] * Corrected incorrect use of the datetime column in the `login` table. [ultramage]

View File

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