(svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again.

This commit is contained in:
rubidium 2009-02-20 21:05:27 +00:00
parent 7dc607b2d1
commit c4fb879561

View File

@ -59,7 +59,7 @@ static void Load_AIPL()
SlObject(NULL, _ai_company);
if (_networking && !_network_server) {
AIInstance::LoadEmpty();
if (IsValidCompanyID(index) && !IsHumanCompany(index)) AIInstance::LoadEmpty();
continue;
}