Fix loading of existing moons.

This commit is contained in:
Adam Ierymenko 2017-02-13 16:14:48 -08:00
parent cd7b571da0
commit 969e09210d
3 changed files with 22 additions and 16 deletions

View file

@ -258,9 +258,10 @@ public:
* Validate new world and update if newer and signature is okay
*
* @param newWorld A new or updated planet or moon to learn
* @param alwaysAcceptNew If true, always accept new moons even if we're not waiting for one
* @return True if it was valid and newer than current (or totally new for moons)
*/
bool addWorld(const World &newWorld);
bool addWorld(const World &newWorld,bool alwaysAcceptNew);
/**
* Add a moon