(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.

This commit is contained in:
rubidium 2007-08-04 01:25:44 +00:00
parent 8037a1cc2d
commit cb9d0c69d1
1 changed files with 2 additions and 0 deletions

View File

@ -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) {