fire-eggs / CivOne

An open source implementation of Sid Meier's Civilization 1 using C# and .NET.
Creative Commons Zero v1.0 Universal
21 stars 4 forks source link

Game save/restore doesn't preserve current Settler progress #149

Open fire-eggs opened 3 years ago

fire-eggs commented 3 years ago

Saving / restoring a game resets any Settler activity (irrigation, mining, etc) to zero.

Settlers.cs, GetStatus and SaveStatus need to restore / save the current settler progress. There is a "Special Moves" unit field in the savefile which is meant to record this [offset 5, according to the format topic in CivFanatics].

NOTE: from code review, needs confirmation.