fix(Core/Units): Do not stun players during taxi flight. (#13798)
Fixes #13654
This commit is contained in:
@@ -18196,6 +18196,11 @@ void Unit::SetControlled(bool apply, UnitState state)
|
|||||||
|
|
||||||
void Unit::SetStunned(bool apply)
|
void Unit::SetStunned(bool apply)
|
||||||
{
|
{
|
||||||
|
if (HasUnitState(UNIT_STATE_IN_FLIGHT))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (apply)
|
if (apply)
|
||||||
{
|
{
|
||||||
SetTarget();
|
SetTarget();
|
||||||
|
|||||||
Reference in New Issue
Block a user