Core/Creature: fixed some spacing

This commit is contained in:
Ovahlord committed 2018-05-06 23:29:41 +02:00
1 parent 0c14264352
commit dac4772341
2 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -8908,7 +8908,7 @@ void Unit::UpdateSpeed(UnitMoveType mtype)
if ((IsPet() || IsGuardian()) && !IsInCombat() && pOwner) // Must check for owner or crash on "Tame Beast"
{
// For every yard over 5, increase speed by 0.01
// to help prevent pet from lagging behind and despawning
// to help prevent pet from lagging behind and despawning
float dist = GetDistance(pOwner);
float base_rate = 1.00f; // base speed is 100% of owner speed