[11928] Some warning fixes

This commit is contained in:
zergtmn 2012-02-16 20:31:48 +06:00
parent 7c827733f5
commit c6a751134c
18 changed files with 28 additions and 38 deletions

View file

@ -4247,8 +4247,7 @@ void Spell::DoCreateItem(SpellEffectIndex eff_idx, uint32 itemtype)
pItem->SetGuidValue(ITEM_FIELD_CREATOR, player->GetObjectGuid());
// send info to the client
if(pItem)
player->SendNewItem(pItem, num_to_add, true, !bg_mark);
player->SendNewItem(pItem, num_to_add, true, !bg_mark);
// we succeeded in creating at least one item, so a levelup is possible
if(!bg_mark)