mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8472] Fixed argument for KilledMonsterCredit call.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
2a4889e10c
commit
d6e4fc2864
2 changed files with 2 additions and 2 deletions
|
|
@ -6793,7 +6793,7 @@ void Spell::EffectKillCreditPersonal(uint32 i)
|
||||||
if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
((Player*)unitTarget)->KilledMonsterCredit(m_spellInfo->EffectMiscValue[i], unitTarget);
|
((Player*)unitTarget)->KilledMonsterCredit(m_spellInfo->EffectMiscValue[i], 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::EffectKillCredit(uint32 i)
|
void Spell::EffectKillCredit(uint32 i)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8471"
|
#define REVISION_NR "8472"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue