Bump up prediction expiry time

Also added a new font
This commit is contained in:
Kae 2023-08-20 20:48:18 +10:00
parent 2fe62a178e
commit ecadfa7e44
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -1070,7 +1070,7 @@ void WorldClient::update(float dt) {
m_lightingCalculator.setMonochrome(Root::singleton().configuration()->get("monochromeLighting").toBool()); m_lightingCalculator.setMonochrome(Root::singleton().configuration()->get("monochromeLighting").toBool());
float expireTime = min((float)m_latency + 100, 2000.f); float expireTime = min(float(m_latency + 800), 2000.f);
auto now = Time::monotonicMilliseconds(); auto now = Time::monotonicMilliseconds();
eraseWhere(m_predictedTiles, [&](auto& pair) { eraseWhere(m_predictedTiles, [&](auto& pair) {
float expiry = (float)(now - pair.second.time) / expireTime; float expiry = (float)(now - pair.second.time) / expireTime;