PDA

Просмотр полной версии : [11703] Proper way create items in Item::CreateItem/CloneItem for items not for inventory


newsbot
02.07.2011, 01:20
автор: VladimirMangos


<pre>m src/game/AuctionHouseHandler.cpp
m src/game/Item.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11703] Proper way create items in Item::CreateItem/CloneItem for items not for inventory

Old code way work not allow create item without providing targeting player.
In result creating item that will not placed to inventory required additional hacks
for undo redundent links to player structures.</pre>




Подробнее... (https://github.com/mangos/mangos/commit/86a1d637f42482b6262f397fe2eb39dc5ff1a1e3)