mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-02-02 09:04:29 +01:00
(svn r20091) [1.0] -Backport from trunk:
- Fix: Clear force_proceed when entering depots and when loading, resetting of force_proceed on manual stopping did not work [FS#3878] (r19992) - Fix: Do not show an error message when trying to start/stop a crashed plane [FS#3874] (r19953) - Fix: Allow turning of roadvehicles while waiting in a queue (r19945) - Fix: Disallow moving of vehicle news window [FS#3865] (r19943) - Fix: Under some (unlucky) circumstances the wrong company would be "current company" when changing company colour or orders [FS#3903]
This commit is contained in:
@@ -2226,6 +2226,17 @@ static void CheckSoftLimit()
|
||||
*/
|
||||
void InputLoop()
|
||||
{
|
||||
/*
|
||||
* During the generation of the world, there might be
|
||||
* another thread that is currently building for example
|
||||
* a road. To not interfere with those tasks, we should
|
||||
* NOT change the _current_company here.
|
||||
*
|
||||
* This is not necessary either, as the only events that
|
||||
* can be handled are the 'close application' events
|
||||
*/
|
||||
if (!IsGeneratingWorld()) _current_company = _local_company;
|
||||
|
||||
CheckSoftLimit();
|
||||
HandleKeyScrolling();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user