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(); ItemPrototype const *proto = m_CastItem->GetProto();
if( proto && proto->ItemId == itemid ) 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 // CastItem will be used up and does not count as reagent
int32 charges = m_CastItem->GetSpellCharges(s); int32 charges = m_CastItem->GetSpellCharges(s);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7360" #define REVISION_NR "7361"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__