aboutsummaryrefslogtreecommitdiff
path: root/src/game/ItemHandler.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 17:58:45 +0100
committern0n4m3 <none@none>2009-12-19 17:58:45 +0100
commitef2cbee517417814d2f5fe5afb4148fb8804b4b2 (patch)
tree6fb1d2eefe156d62ee4d23c4d17384cf79492630 /src/game/ItemHandler.cpp
parent57bdbdc0ca8e867520de9927389edb703a04c43a (diff)
Avoid not needed too oftent send update data, cleanups. by SilverIce
--HG-- branch : trunk
Diffstat (limited to 'src/game/ItemHandler.cpp')
-rw-r--r--src/game/ItemHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp
index b31edcf2b42..a0e800439db 100644
--- a/src/game/ItemHandler.cpp
+++ b/src/game/ItemHandler.cpp
@@ -568,12 +568,12 @@ void WorldSession::HandleSellItemOpcode( WorldPacket & recv_data )
pItem->SetCount( pItem->GetCount() - count );
_player->ItemRemovedQuestCheck( pItem->GetEntry(), count );
if( _player->IsInWorld() )
- pItem->SendUpdateToPlayer( _player );
+ pItem->SendCreateUpdateToPlayer( _player );
pItem->SetState(ITEM_CHANGED, _player);
_player->AddItemToBuyBackSlot( pNewItem );
if( _player->IsInWorld() )
- pNewItem->SendUpdateToPlayer( _player );
+ pNewItem->SendCreateUpdateToPlayer( _player );
}
else
{