[0004] Fix crash on login with warrior. Thanks Zaka for pointing

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-07 10:43:31 +02:00 committed by Antz
parent cb2d7ceea5
commit 93a8a0c22f
2 changed files with 2 additions and 2 deletions

View file

@ -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!

View file

@ -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__