Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physics overrides: Move values to a common struct #12591

Merged
merged 2 commits into from
Aug 12, 2022

Conversation

SmallJoker
Copy link
Member

Code tidy. This moves all physics overrides to a dedicated struct.

This is to avoid further chaos before #11465 gets merged. A server-sided physics modifier API (#10731) could still be built on top of these changes by recycling this struct.

To do

This PR is Ready for Review.

How to test

  1. It must compile
  2. The changes look OK

Code tidy. This moves all physics overrides to a dedicated struct.
src/player.h Show resolved Hide resolved
src/script/lua_api/l_object.cpp Show resolved Hide resolved
Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (not tested)

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

Successfully merging this pull request may close these issues.

None yet

3 participants