Skip to content

refactor: move framerate swim boat hooks - #5209

Open
MohabCodeX wants to merge 1 commit into
multitheftauto:masterfrom
MohabCodeX:refactor/move-framerate-swim-boat-hooks
Open

refactor: move framerate swim boat hooks#5209
MohabCodeX wants to merge 1 commit into
multitheftauto:masterfrom
MohabCodeX:refactor/move-framerate-swim-boat-hooks

Conversation

@MohabCodeX

Copy link
Copy Markdown
Contributor

Summary

This PR addresses the TODO to move frame-rate dependent hooks from CMultiplayerSA.cpp to CMultiplayerSA_FrameRateFixes.cpp, keeping all framerate-related physics corrections consolidated in one place.

Testing

  • Tested ped swimming speed in water across 30 FPS and 100 FPS (verified speed and resistance are consistent).
  • Tested boat water drag/deceleration at 30 FPS and 100 FPS to ensure physics behavior remains unchanged.

Checklist

  • Your code should follow the coding guidelines.
  • Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant