mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[0004] Fix crash on login with warrior. Thanks Zaka for pointing
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
cb2d7ceea5
commit
93a8a0c22f
2 changed files with 2 additions and 2 deletions
|
|
@ -521,7 +521,7 @@ inline bool IsNeedCastSpellAtFormApply(SpellEntry const* spellInfo, ShapeshiftFo
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
SpellShapeshiftEntry const* shapeShift = spellInfo->GetSpellShapeshift();
|
SpellShapeshiftEntry const* shapeShift = spellInfo->GetSpellShapeshift();
|
||||||
if (shapeShift)
|
if (!shapeShift)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// passive spells with SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT are already active without shapeshift, do no recast!
|
// passive spells with SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT are already active without shapeshift, do no recast!
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0003"
|
#define REVISION_NR "0004"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue