mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8672] Fixed condition in prev. commit.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
0e1854a936
commit
3558829283
2 changed files with 2 additions and 3 deletions
|
|
@ -4315,8 +4315,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER ||
|
||||
!m_targets.getUnitTarget() ||
|
||||
m_targets.getUnitTarget()->GetTypeId() == TYPEID_PLAYER ||
|
||||
m_targets.getUnitTarget()->isPet())
|
||||
m_targets.getUnitTarget()->GetTypeId() == TYPEID_PLAYER
|
||||
return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
Player* plrCaster = (Player*)m_caster;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8671"
|
||||
#define REVISION_NR "8672"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue