diff --git a/CREDITS.md b/CREDITS.md index ecf82be902..61b2b00b9b 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -736,4 +736,6 @@ This page lists all the individual contributions to the project by their author. - **Damfoos** - extensive and thorough testing - **Dmitry Volkov** - extensive and thorough testing - **Rise of the East community** - extensive playtesting of in-dev features -- **11EJDE11** - Prevent mpdebug number from being drawn when visibility toggled off +- **11EJDE11**: + - Prevent mpdebug number from being drawn when visibility toggled off + - Fixed a desync caused by inconsistent shroud state diff --git a/docs/Fixed-or-Improved-Logics.md b/docs/Fixed-or-Improved-Logics.md index 8e683b6ade..58573fd565 100644 --- a/docs/Fixed-or-Improved-Logics.md +++ b/docs/Fixed-or-Improved-Logics.md @@ -297,6 +297,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho - Allow the default value of `DefaultToGuardArea` to be defined by `[General] -> DefaultToGuardArea`. - Fixed the bug that cause technos teleport to cell 0,0 by ChronoSphere superweapon. - Fixed the bug that techno in attack move will move to target if it cannot attack it. +- Fixed a desync caused by inconsistent shroud state. ## Fixes / interactions with other extensions diff --git a/docs/Whats-New.md b/docs/Whats-New.md index 975aeed572..c23f89f6de 100644 --- a/docs/Whats-New.md +++ b/docs/Whats-New.md @@ -592,6 +592,7 @@ Vanilla fixes: - Fixed the issue where units recruited by a team with `AreTeamMembersRecruitable=false` cannot be recruited even if they have been liberated by that team (by TaranDahl) - Fixed the bug that cause technos teleport to cell 0,0 by ChronoSphere superweapon (by NetsuNegi) - Fixed the bug that techno in attack move will move to target if it cannot attack it (by NetsuNegi) +- Fixed a desync caused by inconsistent shroud state (By 11EJDE11) Phobos fixes: - Fixed the bug that `AllowAirstrike=no` cannot completely prevent air strikes from being launched against it (by NetsuNegi) diff --git a/src/Misc/Hooks.BugFixes.cpp b/src/Misc/Hooks.BugFixes.cpp index fe3a93417d..9af5bff729 100644 --- a/src/Misc/Hooks.BugFixes.cpp +++ b/src/Misc/Hooks.BugFixes.cpp @@ -2999,3 +2999,7 @@ DEFINE_HOOK(0x6EA870, TeamClass_LiberateMember_Start, 0x6) pMember->RecruitableB = true; return 0; } + +// Fixes a desync caused by a check for shrouding at a specific cell +// Sets Session.MPGameMode->SkipCheatCheck() to true +DEFINE_PATCH(0x5C0E30, 0xB0, 0x01)