Revert "Fix bug if vehicle holds more soldiers than can fit in a squad (by Seven) (#101)" (#102)

This reverts commit 46c4ac2b64.
This commit is contained in:
Asdow
2023-01-20 16:48:27 +02:00
committed by GitHub
parent 46c4ac2b64
commit f0d0ba7307
-7
View File
@@ -2141,13 +2141,6 @@ void PutNonSquadMercsInPlayerGroupOnSquads( GROUP *pGroup, BOOLEAN fExitVehicles
// because if this is a simultaneous group attack, the mercs could be coming from different sides, and the
// placement screen can't handle mercs on the same squad arriving from difference edges!
fSuccess = AddCharacterToSquad( pSoldier, bUniqueVehicleSquad );
{
bUniqueVehicleSquad = GetFirstEmptySquad();
if (bUniqueVehicleSquad != -1)
{
fSuccess = AddCharacterToSquad(pSoldier, bUniqueVehicleSquad);
}
}
}
//CHRISL: So what's supposed to happen in the merc is assigned to a vehicle but fExitVehicles is FALSE?
else