feat (core): another helper implemented (#11469)

This commit is contained in:
acidmanifesto
2022-04-21 13:15:11 -04:00
committed by GitHub
parent a255cc4fd7
commit eb91bbfc56
+1
View File
@@ -13826,6 +13826,7 @@ void Unit::SetSpeed(UnitMoveType mtype, float rate, bool forced)
if (Unit* critter = ObjectAccessor::GetUnit(*this, GetCritterGUID())) if (Unit* critter = ObjectAccessor::GetUnit(*this, GetCritterGUID()))
critter->UpdateSpeed(mtype, forced); critter->UpdateSpeed(mtype, forced);
} }
ToPlayer()->SetCanTeleport(true);
} }
switch (mtype) switch (mtype)