Skip to content

Commit

Permalink
C4ControlSyncCheck: Fix desync due to uninitialized member variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Apr 13, 2024
1 parent 25c86b3 commit 027643b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/C4Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ void C4ControlSyncCheck::Set()
PXSCount = 0;
MassMoverIndex = 0;
ObjectCount = 0;
SectShapeSum = 0;

for (const auto &section : Game.Sections)
{
Expand Down

0 comments on commit 027643b

Please sign in to comment.