mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
This commit is contained in:
parent
8037a1cc2d
commit
cb9d0c69d1
@ -780,6 +780,8 @@ static const WindowDesc _group_desc = {
|
||||
|
||||
void ShowPlayerGroup(PlayerID player, VehicleType vehicle_type)
|
||||
{
|
||||
if (!IsValidPlayer(player)) return;
|
||||
|
||||
WindowClass wc;
|
||||
|
||||
switch (vehicle_type) {
|
||||
|
Loading…
Reference in New Issue
Block a user