mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 17:19:09 +00:00
Compare commits
3 Commits
master
...
21efa4da12
Author | SHA1 | Date | |
---|---|---|---|
|
21efa4da12 | ||
|
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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user