Fixing bugs with pathfinding, bump version
This commit is contained in:
1 parent
8e2b019c92
commit
f1cc28ab31
22 files changed
+1119
-759
No files matched your search
@@ -617,12 +617,12 @@ void WebsocketGameClient::update(std::int64_t)
|
||||
if (!tick.stateHash.empty()) {
|
||||
nlohmann::json state;
|
||||
replica_.save(state);
|
||||
/*const std::string localHash = canonicalStateHash(std::move(state));
|
||||
const std::string localHash = canonicalStateHash(std::move(state));
|
||||
if (localHash != tick.stateHash) {
|
||||
std::cerr << "[network] Lockstep divergence at tick "
|
||||
<< tick.tickId << ": server=" << tick.stateHash
|
||||
<< ", client=" << localHash << '\n';
|
||||
}*/
|
||||
}
|
||||
}
|
||||
++nextExpectedTick_;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user