aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-08 11:36:10 -0600
committermegamage <none@none>2009-03-08 11:36:10 -0600
commit985b7656bb8f7de1cb192410f2ee0495dd43ae91 (patch)
treeac10c887e7e80fe17956ee2ca0742c40f3d24389 /src/game/SpellEffects.cpp
parent88c050182cd2628984a0282f66256913cecd188b (diff)
parent0f8dee432c4eb78b466744b9e3e13266c6be19d7 (diff)
*Merge.
--HG-- branch : trunk rename : sql/updates/XXX_characters_auctionhouse.sql => sql/updates/1164_characters.sql
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 494957e354c..a36cc22abd2 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2786,33 +2786,7 @@ void Spell::DoCreateItem(uint32 i, uint32 itemtype)
// we succeeded in creating at least one item, so a levelup is possible
player->UpdateCraftSkill(m_spellInfo->Id);
- }
-
- // for battleground marks send by mail if not add all expected
- if(no_space > 0 )
- {
- BattleGroundTypeId bgType;
- switch(m_spellInfo->Id)
- {
- case SPELL_AV_MARK_WINNER:
- case SPELL_AV_MARK_LOSER:
- bgType = BATTLEGROUND_AV;
- break;
- case SPELL_WS_MARK_WINNER:
- case SPELL_WS_MARK_LOSER:
- bgType = BATTLEGROUND_WS;
- break;
- case SPELL_AB_MARK_WINNER:
- case SPELL_AB_MARK_LOSER:
- bgType = BATTLEGROUND_AB;
- break;
- default:
- return;
- }
-
- if(BattleGround* bg = sBattleGroundMgr.GetBattleGroundTemplate(bgType))
- bg->SendRewardMarkByMail(player,newitemid,no_space);
- }
+ }
}
void Spell::EffectCreateItem(uint32 i)