src/economy.cpp
branchnoai
changeset 9860 4f554e7b1985
parent 9837 c9ec4f82e0d0
child 9869 6404afe43575
equal deleted inserted replaced
9859:81621c6ba0e9 9860:4f554e7b1985
  1850 		}
  1850 		}
  1851 	}
  1851 	}
  1852 	_current_player = old_player;
  1852 	_current_player = old_player;
  1853 
  1853 
  1854 	p->is_active = false;
  1854 	p->is_active = false;
       
  1855 	if (!IsHumanPlayer(p->index)) AI_PlayerDied(p->index);
  1855 
  1856 
  1856 	DeletePlayerWindows(pi);
  1857 	DeletePlayerWindows(pi);
  1857 	RebuildVehicleLists(); //Updates the open windows to add the newly acquired vehicles to the lists
  1858 	RebuildVehicleLists(); //Updates the open windows to add the newly acquired vehicles to the lists
  1858 }
  1859 }
  1859 
  1860