forked from mirror/OpenTTD
(svn r1435) Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator mode
This commit is contained in:
@@ -211,5 +211,6 @@ static const WindowDesc _terraform_desc = {
|
||||
|
||||
void ShowTerraformToolbar()
|
||||
{
|
||||
if (_current_player == OWNER_SPECTATOR) return;
|
||||
AllocateWindowDescFront(&_terraform_desc, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user