mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Gear templates: multiple ammo item choices are possible via wildcards, but if item is a match, use ammo specified there
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8449 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4334,7 +4334,7 @@ void HandleExplosionWarningAnimations( )
|
||||
}
|
||||
else
|
||||
{
|
||||
// if condition'S don't apply, deactivate skill. This will cause it to update to status changes very fast
|
||||
// if conditions don't apply, deactivate skill. This will cause it to update to status changes very fast
|
||||
pSoldier->usSoldierFlagMask2 &= ~SOLDIER_TRAIT_FOCUS;
|
||||
pSoldier->sFocusGridNo = NOWHERE;
|
||||
}
|
||||
@@ -4342,10 +4342,10 @@ void HandleExplosionWarningAnimations( )
|
||||
}
|
||||
|
||||
// show riot shields
|
||||
SOLDIERTYPE* pSoldier;
|
||||
UINT16 cnt = gTacticalStatus.Team[0].bFirstID;
|
||||
for ( pSoldier = MercPtrs[cnt]; cnt <= gTacticalStatus.Team[CIV_TEAM].bLastID; ++cnt, pSoldier++ )
|
||||
for ( UINT32 cnt = 0; cnt < TOTAL_SOLDIERS; ++cnt )
|
||||
{
|
||||
SOLDIERTYPE* pSoldier = MercPtrs[cnt];
|
||||
|
||||
if ( pSoldier && pSoldier->bActive && pSoldier->bInSector )
|
||||
{
|
||||
if ( (pSoldier->ubDirection == EAST ||
|
||||
|
||||
Reference in New Issue
Block a user