(svn r3414) - Fix: Disable the Fund New Industry menu item and window when connected to a server as a spectator.

This commit is contained in:
2006-01-21 21:45:34 +00:00
parent d22e8c636d
commit d13763a9c4
2 changed files with 3 additions and 1 deletions

View File

@@ -267,6 +267,7 @@ static const WindowDesc * const _industry_window_desc[2][4] = {
void ShowBuildIndustryWindow(void)
{
if (_current_player == OWNER_SPECTATOR) return;
AllocateWindowDescFront(_industry_window_desc[_patches.build_rawmaterial_ind][_opt_ptr->landscape],0);
}