Merge commit 'origin/master' into 310 (at [7361], for resolve expected conflicts)

Conflicts:
	src/game/Spell.cpp
This commit is contained in:
VladimirMangos 2009-03-01 01:24:29 +03:00
commit 8c489f80dc
2 changed files with 2 additions and 2 deletions

View file

@ -3533,7 +3533,7 @@ void Spell::TakeReagents()
ItemPrototype const *proto = m_CastItem->GetProto();
if( proto && proto->ItemId == itemid )
{
for(int s=0;s<5;s++)
for(int s=0;s < MAX_ITEM_PROTO_SPELLS; ++s)
{
// CastItem will be used up and does not count as reagent
int32 charges = m_CastItem->GetSpellCharges(s);