- bugfix Bug-ID: 101: No bloodcats in tactical by bloodcats ambush

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2219 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2008-06-07 21:20:11 +00:00
parent 2baa1b7c94
commit 5b1405b717
+17 -2
View File
@@ -2084,11 +2084,26 @@ void PrepareLoadedSector()
AddSoldierInitListTeamToWorld( CIV_TEAM, 255 );
}
if(is_server && MILITIA_ENABLED==1)
if (is_networked)
{
if(is_server && MILITIA_ENABLED==1)
AddSoldierInitListTeamToWorld( MILITIA_TEAM, 255 );
}
else
{
AddSoldierInitListTeamToWorld( MILITIA_TEAM, 255 );
}
if(is_server && CREATURE_ENABLED==1)
if (is_networked)
{
if(is_server && CREATURE_ENABLED==1)
AddSoldierInitListBloodcats();
}
else
{
AddSoldierInitListBloodcats();
}
//Creatures are only added if there are actually some of them. It has to go through some
//additional checking.