Introduce cached ticks for client again, this time with workaround for

particles. Hopefully not many other parts of the code will need this.
This commit is contained in:
def 2016-06-28 23:35:59 +02:00
parent 071822d281
commit 4681f69b1b
2 changed files with 3 additions and 0 deletions

View file

@ -2679,6 +2679,8 @@ void CClient::Run()
while (1)
{
set_new_tick();
//
VersionUpdate();

View file

@ -137,6 +137,7 @@ void CParticles::OnRender()
if(Client()->State() < IClient::STATE_ONLINE)
return;
set_new_tick();
static int64 LastTime = 0;
int64 t = time_get();