Core/Movement: Corrected values sent in knockback packet when speedXY < 0

Co-authored-by: Seyden <saiifii@live.de>
This commit is contained in:
Shauren
2021-11-06 23:17:43 +01:00
parent 4fd4d28354
commit 732a8ee261
10 changed files with 23 additions and 37 deletions
+1 -1
View File
@@ -1400,7 +1400,7 @@ class spell_gen_ds_flush_knockback : public SpellScript
float verticalSpeed = 8.0f;
// This method relies on the Dalaran Sewer map disposition and Water Spout position
// What we do is knock the player from a position exactly behind him and at the end of the pipe
player->KnockbackFrom(target->GetPositionX(), player->GetPositionY(), horizontalSpeed, verticalSpeed);
player->KnockbackFrom(target->GetPosition(), horizontalSpeed, verticalSpeed);
}
}
}