mirror of https://github.com/OpenTTD/OpenTTD
Compare commits
3 Commits
34788b433b
...
a8b6495228
Author | SHA1 | Date |
---|---|---|
|
a8b6495228 | |
|
bac9bf93bc | |
|
abdea49d24 |
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue