Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14449 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
c3322bda41
commit
5c72ec7b7e
@ -1,5 +1,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
|
2010/11/07
|
||||||
|
* Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard]
|
||||||
2010/11/02
|
2010/11/02
|
||||||
* Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. (bugreport:4523) [Paradox924X]
|
* Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. (bugreport:4523) [Paradox924X]
|
||||||
* Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218) [Paradox924X]
|
* Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218) [Paradox924X]
|
||||||
|
@ -2146,6 +2146,12 @@ void clif_equiplist(struct map_session_data *sd)
|
|||||||
#if PACKETVER >= 20071002
|
#if PACKETVER >= 20071002
|
||||||
WBUFL(buf,n*cmd+24)=sd->status.inventory[i].expire_time;
|
WBUFL(buf,n*cmd+24)=sd->status.inventory[i].expire_time;
|
||||||
WBUFW(buf,n*cmd+28)=0; //Unknown
|
WBUFW(buf,n*cmd+28)=0; //Unknown
|
||||||
|
#endif
|
||||||
|
#if PACKETVER >= 20100629
|
||||||
|
if (sd->inventory_data[i]->equip&EQP_HELM)
|
||||||
|
WBUFW(buf,n*cmd+30)= sd->inventory_data[i]->look;
|
||||||
|
else
|
||||||
|
WBUFW(buf,n*cmd+30)=0;
|
||||||
#endif
|
#endif
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user