summaryrefslogtreecommitdiff
path: root/node/Topology.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-13 16:14:48 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-13 16:14:48 -0800
commit969e09210d89f4cecf01920d8315f984ea59245e (patch)
tree5da42d39a89d7080e4c16870f3ecdd5e3e0b1d11 /node/Topology.hpp
parentcd7b571da071a4af4afd978b920e1b8372c880a3 (diff)
downloadinfinitytier-969e09210d89f4cecf01920d8315f984ea59245e.tar.gz
infinitytier-969e09210d89f4cecf01920d8315f984ea59245e.zip
Fix loading of existing moons.
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r--node/Topology.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp
index 35f98ccc..39367d6e 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -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