mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Merge commit 'origin/master' into 310 (at [7361], for resolve expected conflicts)
Conflicts: src/game/Spell.cpp
This commit is contained in:
commit
8c489f80dc
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue