aboutsummaryrefslogtreecommitdiff
path: root/src/game/ItemHandler.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 19:46:07 +0100
committern0n4m3 <none@none>2009-12-19 19:46:07 +0100
commit5a3b3d83eeac2e7b2d770bbe1346f2706dc25d01 (patch)
tree5ee21ab0e5b49af02b5355182a92b28720a7fd04 /src/game/ItemHandler.cpp
parent50bf68e099fbd7935d0e28ea052c4448c283f9e8 (diff)
Fixed some typos and revert one commit
--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 a0e800439db..b31edcf2b42 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->SendCreateUpdateToPlayer( _player );
+ pItem->SendUpdateToPlayer( _player );
pItem->SetState(ITEM_CHANGED, _player);
_player->AddItemToBuyBackSlot( pNewItem );
if( _player->IsInWorld() )
- pNewItem->SendCreateUpdateToPlayer( _player );
+ pNewItem->SendUpdateToPlayer( _player );
}
else
{