mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 15:00:06 +00:00
Fix re-crocpotting (#134)
This commit is contained in:
parent
da725d21e6
commit
ab5857e7e2
@ -506,7 +506,7 @@ void NPCManager::npcCombineItems(CNSocket* sock, CNPacketData* data) {
|
|||||||
resp.iSuccessFlag = 1;
|
resp.iSuccessFlag = 1;
|
||||||
|
|
||||||
// modify the looks item with the new stats and set the appearance through iOpt
|
// modify the looks item with the new stats and set the appearance through iOpt
|
||||||
itemLooks->iOpt = (int32_t)itemLooks->iID << 16;
|
itemLooks->iOpt = (int32_t)((itemLooks->iOpt) >> 16 > 0 ? (itemLooks->iOpt >> 16) : itemLooks->iID) << 16;
|
||||||
itemLooks->iID = itemStats->iID;
|
itemLooks->iID = itemStats->iID;
|
||||||
|
|
||||||
// delete stats item
|
// delete stats item
|
||||||
|
Loading…
Reference in New Issue
Block a user