diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 60036ab61..7ab289e45 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 057f92297..6ce673beb 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7360" + #define REVISION_NR "7361" #endif // __REVISION_NR_H__