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

Make CvPlot::setRevealed's return value mp-compatible #9970

Merged
merged 1 commit into from Jul 1, 2023

Conversation

seroperson
Copy link
Collaborator

Fixes #9966. See description here.

Currently setRevealed returns true just in case if plot changed its' visibility and eTeam == getActiveTeam(). Otherwise it returns false even if plot changed its' visibility and it breaks auto-exploration logic in MP-sessions. Tested and now auto-exploration works same on both ends. setRevealed's return value used just only during auto-exploration, so this change should not break anything.

@RecursiveVision RecursiveVision merged commit ee1dfc7 into LoneGazebo:master Jul 1, 2023
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.

3.7.3_Multiplayer Test with AI
2 participants