Hello and welcome to BUG TRACKER NIGHT!

The first dish of the night, bugreport:6018 has been fixed. new carts are now removed properly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16330 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-06-23 23:15:40 +00:00
parent 3671aa4a13
commit a1080d66ea
2 changed files with 3 additions and 3 deletions

View File

@ -7237,11 +7237,10 @@ int pc_setcart(struct map_session_data *sd,int type) {
clif_cartlist(sd); clif_cartlist(sd);
clif_updatestatus(sd, SP_CARTINFO); clif_updatestatus(sd, SP_CARTINFO);
sc_start(&sd->bl, SC_PUSH_CART, 100, type, 0); sc_start(&sd->bl, SC_PUSH_CART, 100, type, 0);
clif_status_load_notick(&sd->bl, SI_ON_PUSH_CART, 2 , type, 0, 0);
break; break;
} }
clif_status_load_notick(&sd->bl, SI_ON_PUSH_CART, type != 0 ? 2 : 0, type, 0, 0);
if(pc_checkskill(sd, MC_PUSHCART) < 10) if(pc_checkskill(sd, MC_PUSHCART) < 10)
status_calc_pc(sd,0); //Recalc speed penalty. status_calc_pc(sd,0); //Recalc speed penalty.
#else #else

View File

@ -854,6 +854,7 @@ void initChangeTables(void) {
StatusIconChangeTable[SC_PETROLOGY] = SI_PETROLOGY; StatusIconChangeTable[SC_PETROLOGY] = SI_PETROLOGY;
StatusIconChangeTable[SC_CURSED_SOIL] = SI_CURSED_SOIL; StatusIconChangeTable[SC_CURSED_SOIL] = SI_CURSED_SOIL;
StatusIconChangeTable[SC_UPHEAVAL] = SI_UPHEAVAL; StatusIconChangeTable[SC_UPHEAVAL] = SI_UPHEAVAL;
StatusIconChangeTable[SC_PUSH_CART] = SI_ON_PUSH_CART;
//Other SC which are not necessarily associated to skills. //Other SC which are not necessarily associated to skills.
StatusChangeFlagTable[SC_ASPDPOTION0] = SCB_ASPD; StatusChangeFlagTable[SC_ASPDPOTION0] = SCB_ASPD;