summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-27 13:52:29 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-27 13:52:29 -0800
commitbc218f9414bd6e4124eb223c7c69c5ac254befff (patch)
treebe3035b86794c43c1318e065b793169a6c3d62f7 /node/IncomingPacket.cpp
parentf102fd7f92225fbe39ae69dda716530a4e5457e9 (diff)
downloadinfinitytier-bc218f9414bd6e4124eb223c7c69c5ac254befff.tar.gz
infinitytier-bc218f9414bd6e4124eb223c7c69c5ac254befff.zip
little fix
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r--node/IncomingPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 1a60d13a..28b845b4 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -437,7 +437,7 @@ bool IncomingPacket::_doOK(const RuntimeEnvironment *RR,const SharedPtr<Peer> &p
const unsigned int endOfWorlds = ptr + worldLen;
while (ptr < endOfWorlds) {
World w;
- w.deserialize(*this,ptr);
+ ptr += w.deserialize(*this,ptr);
RR->topology->addWorld(w,true);
}
}