Skip to content

Conversation

Neproify
Copy link
Contributor

Does what it says. Not tested with more than local player, however it fixes #928 and probably(not tested) #908. Should fix most of desyncs when player is dead, because right now client doesn't send any sync when player died.

Copy link
Contributor

@qaisjp qaisjp left a comment

Choose a reason for hiding this comment

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

Thanks!

@qaisjp qaisjp merged commit 8475539 into multitheftauto:master May 26, 2019
@qaisjp
Copy link
Contributor

qaisjp commented May 26, 2019

Btw, instead of making pull requests on your fork, you can follow the instructions here.

@qaisjp qaisjp added this to the 1.5.7 milestone May 26, 2019
@AlexTMjugador
Copy link
Member

Microoptimization: you could append the body of the if statement that starts on line 411 to the end of the if statement you changed, because they now check the same condition. That way you surely avoid checking the same condition twice, and reduce 2 lines of code.

qaisjp pushed a commit that referenced this pull request May 28, 2019
* Deleted redundant check.

Addendum to 8475539 / #964
@patrikjuvonen patrikjuvonen added the bug Something isn't working label May 28, 2019
qaisjp added a commit that referenced this pull request Jun 11, 2019
Fixes #989. Re-opens #928.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Position desync with dead players

4 participants