mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
physics: apply server flight speed to flying mount movement
serverFlightSpeed_ (from SMSG_FORCE_FLIGHT_SPEED_CHANGE) was stored but never synced to CameraController. Add getServerFlightSpeed() accessor, flightSpeedOverride_ field, and use it in the flying physics path so normal vs epic flying mounts actually move at their correct speeds.
This commit is contained in:
parent
27d18b2189
commit
a1ee9827d8
4 changed files with 8 additions and 1 deletions
|
|
@ -1154,6 +1154,7 @@ public:
|
|||
float getServerRunSpeed() const { return serverRunSpeed_; }
|
||||
float getServerWalkSpeed() const { return serverWalkSpeed_; }
|
||||
float getServerSwimSpeed() const { return serverSwimSpeed_; }
|
||||
float getServerFlightSpeed() const { return serverFlightSpeed_; }
|
||||
bool isPlayerRooted() const {
|
||||
return (movementInfo.flags & static_cast<uint32_t>(MovementFlags::ROOT)) != 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue