mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New feature: enemy combat jeeps fill the role between infantry and tanks. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=344628&#msg_344628
This is savegame compatible. GameDir >= r2305 required. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8114 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -156,7 +156,7 @@ Incident_Stats::AddStat( SOLDIERTYPE* pSoldier, UINT8 aType )
|
||||
|
||||
case ENEMY_TEAM:
|
||||
{
|
||||
if ( TANK(pSoldier) )
|
||||
if ( ARMED_VEHICLE( pSoldier ) )
|
||||
group = CAMPAIGNHISTORY_SD_ENEMY_TANK;
|
||||
else if ( pSoldier->ubSoldierClass == SOLDIER_CLASS_ADMINISTRATOR )
|
||||
group = CAMPAIGNHISTORY_SD_ENEMY_ADMIN;
|
||||
@@ -226,7 +226,7 @@ Incident_Stats::AddStat( SOLDIERTYPE* pSoldier, UINT8 aType )
|
||||
break;
|
||||
}
|
||||
|
||||
if ( TANK(pSoldier) )
|
||||
if ( ARMED_VEHICLE( pSoldier ) )
|
||||
{
|
||||
if ( pSoldier->bSide == 0 )
|
||||
usIncidentFlags |= INCIDENT_TANKS_PLAYERSIDE;
|
||||
|
||||
Reference in New Issue
Block a user