backport nost-tbc a8a5d84 allow mounting while stealthed

This commit is contained in:
hlarsen 2016-05-07 21:14:32 +01:00 committed by Antz
parent c7239f14e5
commit b5f299c926

View File

@ -3394,7 +3394,7 @@ class Unit : public WorldObject
{ {
ShapeshiftForm form = GetShapeshiftForm(); ShapeshiftForm form = GetShapeshiftForm();
return form != FORM_NONE && form != FORM_BATTLESTANCE && form != FORM_BERSERKERSTANCE && form != FORM_DEFENSIVESTANCE && return form != FORM_NONE && form != FORM_BATTLESTANCE && form != FORM_BERSERKERSTANCE && form != FORM_DEFENSIVESTANCE &&
form != FORM_SHADOW; form != FORM_SHADOW && form != FORM_STEALTH;
} }
float m_modMeleeHitChance; float m_modMeleeHitChance;