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:
Kelsi 2026-03-10 13:25:10 -07:00
parent 27d18b2189
commit a1ee9827d8
4 changed files with 8 additions and 1 deletions

View file

@ -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;
}