diff --git a/source/simulation2/Simulation2.cpp b/source/simulation2/Simulation2.cpp
index 9337327..b3aab9f 100644
a
|
b
|
void CSimulation2Impl::Update(int turnLength, const std::vector<SimulationComman
|
444 | 444 | if (primaryStateBefore.state.str() != secondaryStateBefore.state.str() || |
445 | 445 | primaryStateBefore.hash != secondaryStateBefore.hash) |
446 | 446 | { |
447 | | ReportSerializationFailure(&primaryStateBefore, NULL, &secondaryStateBefore, NULL); |
| 447 | // ReportSerializationFailure(&primaryStateBefore, NULL, &secondaryStateBefore, NULL); |
448 | 448 | } |
449 | 449 | |
450 | 450 | SerializationTestState primaryStateAfter; |
diff --git a/source/simulation2/components/CCmpVision.cpp b/source/simulation2/components/CCmpVision.cpp
index eaa3833..aeaf4fb 100644
a
|
b
|
|
21 | 21 | #include "ICmpVision.h" |
22 | 22 | |
23 | 23 | #include "simulation2/MessageTypes.h" |
| 24 | #include "simulation2/components/ICmpOwnership.h" |
24 | 25 | #include "simulation2/components/ICmpPlayerManager.h" |
25 | 26 | #include "simulation2/components/ICmpRangeManager.h" |
26 | 27 | #include "simulation2/components/ICmpValueModificationManager.h" |
… |
… |
public:
|
120 | 121 | } |
121 | 122 | case MT_Deserialized: |
122 | 123 | { |
| 124 | |
| 125 | if (m_RevealShore) |
| 126 | { |
| 127 | |
| 128 | CmpPtr<ICmpPathfinder> cmpPathfinder(GetSystemEntity()); |
| 129 | cmpPathfinder->UpdateGrid(); |
| 130 | |
| 131 | CmpPtr<ICmpOwnership> cmpOwnership(GetEntityHandle()); |
| 132 | if (cmpOwnership) |
| 133 | { |
| 134 | CmpPtr<ICmpRangeManager> cmpRangeManager(GetSystemEntity()); |
| 135 | cmpRangeManager->RevealShore(cmpOwnership->GetOwner(), true); |
| 136 | } |
| 137 | |
| 138 | } |
| 139 | |
| 140 | |
123 | 141 | CmpPtr<ICmpValueModificationManager> cmpValueModificationManager(GetSystemEntity()); |
124 | 142 | if (cmpValueModificationManager) |
125 | 143 | m_Range = cmpValueModificationManager->ApplyModifications(L"Vision/Range", m_BaseRange, GetEntityId()); |