[7716] Fixed some typos and possible crashes. Author: AlexDereka

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-27 18:42:35 -05:00
parent 5ac67c27f7
commit 09af28301e
24 changed files with 276 additions and 258 deletions

View File

@@ -1194,7 +1194,7 @@ void WorldSession::HandleGuildBankDepositItem( WorldPacket & recv_data )
else // swap
{
gDest.clear();
uint8 msg = pGuild->CanStoreItem(BankTabDst,BankTabSlotDst,gDest,pItemSrc->GetCount(),pItemSrc,true);
msg = pGuild->CanStoreItem(BankTabDst,BankTabSlotDst,gDest,pItemSrc->GetCount(),pItemSrc,true);
if( msg != EQUIP_ERR_OK )
{
pl->SendEquipError( msg, pItemSrc, NULL );