mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
[11928] Some warning fixes
This commit is contained in:
parent
7c827733f5
commit
c6a751134c
18 changed files with 28 additions and 38 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue