Bump up prediction expiry time
Also added a new font
This commit is contained in:
parent
2fe62a178e
commit
ecadfa7e44
BIN
assets/opensb/font/newspaper.ttf
Normal file
BIN
assets/opensb/font/newspaper.ttf
Normal file
Binary file not shown.
@ -1070,7 +1070,7 @@ void WorldClient::update(float dt) {
|
||||
|
||||
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();
|
||||
eraseWhere(m_predictedTiles, [&](auto& pair) {
|
||||
float expiry = (float)(now - pair.second.time) / expireTime;
|
||||
|
Loading…
Reference in New Issue
Block a user