Core/Creature: fixed some spacing
This commit is contained in:
1 parent
0c14264352
commit
dac4772341
2 files changed
+19
-19
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user