hch
2018-10-08 af061eb963b3d4c97f3d71424f42f89f4ff3b498
2091 【主干】【1.0.18】神兽背包满情况下拾取错误导致内存泄露
1个文件已修改
3 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1303,6 +1303,9 @@
            GameWorld.Log("策划填表错误 %s -> maxPackCount = %s" % (curItemID , maxPackCount))
            return False, 0
        
        # 特殊处理不同的物品放入不同的背包,如神兽背包
        packIndex = ChConfig.GetItemPackType(curItemData.GetType(), packIndex)
        maxCanPutItem = 0
        curPlayer = self.__Player
        # 虚拟背包