Core/Spells: Remove movement impairing effects for druids when shifting back to normal form

fixes #320
This commit is contained in:
leak
2011-01-26 20:05:36 +01:00
parent 41d0c5571a
commit e00e57b570

View File

@@ -3174,7 +3174,11 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const * aurApp, uint8 m
{
target->SetShapeshiftForm(FORM_NONE);
if (target->getClass() == CLASS_DRUID)
{
target->setPowerType(POWER_MANA);
// Remove movement impairing effects also when shifting out
target->RemoveMovementImpairingAuras();
}
}
if (modelid > 0)