mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-17 11:39:11 +00:00
Merge bac9bf93bc
into 557fb0bd78
This commit is contained in:
@@ -50,8 +50,11 @@ void VideoDriver_Null::MainLoop()
|
||||
{
|
||||
uint i;
|
||||
|
||||
for (i = 0; i < this->ticks; i++) {
|
||||
::GameLoop();
|
||||
for (i = 0; i < this->ticks && ! _exit_game; i++) {
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(this->game_state_mutex);
|
||||
::GameLoop();
|
||||
}
|
||||
::InputLoop();
|
||||
::UpdateWindows();
|
||||
}
|
||||
|
Reference in New Issue
Block a user