mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Bugfix: Robot (from Madlab) was not shown in personnel screen. This is a very old bug which goes back to revision 2498, when Many Mercenary was included (thx to Scheinworld and DepressivesBrot for helping to fix the bug)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4678 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -566,9 +566,14 @@ void EnterPersonnel( void )
|
||||
idx <= gTacticalStatus.Team[ pTeamSoldier->bTeam ].bLastID;
|
||||
++idx) {
|
||||
pTeamSoldier = MercPtrs[ idx ];
|
||||
if ((pTeamSoldier->bActive) &&
|
||||
!(pTeamSoldier->flags.uiStatusFlags & SOLDIER_VEHICLE) &&
|
||||
/*(pTeamSoldier->stats.bLife > 0 ) && */ !AM_A_ROBOT(pTeamSoldier)) {
|
||||
|
||||
// WANNE: Bugfix: Also show the roboter in ther personnel screen. This bug was introduced in revision 2498, when Many Mercenary was included.
|
||||
//if ((pTeamSoldier->bActive) &&
|
||||
// !(pTeamSoldier->flags.uiStatusFlags & SOLDIER_VEHICLE) &&
|
||||
// /*(pTeamSoldier->stats.bLife > 0 ) && */ !AM_A_ROBOT(pTeamSoldier) )
|
||||
|
||||
if ((pTeamSoldier->bActive) && !(pTeamSoldier->flags.uiStatusFlags & SOLDIER_VEHICLE))
|
||||
{
|
||||
currentTeamList[++maxCurrentTeamIndex] = idx;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user