- added a timerUpdateClock call to the main loop so that Blood and Exhumed work again.

This may only be removed when nothing uses totalclock anymore. We're not there yet.
This commit is contained in:
Christoph Oelckers 2020-08-25 21:24:45 +02:00
parent a323591d5a
commit 6b0e1baf02
2 changed files with 2 additions and 1 deletions

View file

@ -914,6 +914,8 @@ void app_loop()
{
try
{
timerUpdateClock();
TickSubsystems();
twod->SetSize(screen->GetWidth(), screen->GetHeight());
twodpsp.SetSize(screen->GetWidth(), screen->GetHeight());

View file

@ -842,7 +842,6 @@ void donewgame(MapRecord* map, int sk)
template<class func>
void newgame(MapRecord* map, int sk, func completion)
{
timerUpdateClock();
ready2send = 0;
auto completion1 = [=](bool res)