HomeWildfire Games

Fix serialization test following rP27673 - Fix CalculateTerritories after…

Description

Fix serialization test following rP27673 - Fix CalculateTerritories after deserialization

This fixes an issue revealed by rP27673 that affected deserialized games.
Adding tests further highlighted a bug in the calculations, which is fixed.

Reviewed By: phosit

Fixes #6883

Differential Revision: https://code.wildfiregames.com/D5181

Event Timeline

vladislavbelov added inline comments.
/ps/trunk/source/simulation2/components/tests/test_TerritoryManager.h
38–65

virtual shouldn't present if there is override.

68

Incorrect naming, Mgr and Man for the same word, also might be full words.