mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +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();
|
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);
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue