mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Obliterating a sector will now destroy tanks as well.
- Spawning a new enemy via [Alt] + [b] can create tanks. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7928 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1156,11 +1156,13 @@ UINT32 UIHandleNewBadMerc( UI_EVENT *pUIEvent )
|
||||
return( GAME_SCREEN );
|
||||
}
|
||||
|
||||
usRandom = (UINT16)Random( 10 );
|
||||
if( usRandom < 4 )
|
||||
usRandom = (UINT16)Random( 12 );
|
||||
if( usRandom < 3 )
|
||||
pSoldier = TacticalCreateAdministrator();
|
||||
else if( usRandom < 8 )
|
||||
else if( usRandom < 6 )
|
||||
pSoldier = TacticalCreateArmyTroop();
|
||||
else if ( usRandom < 9 )
|
||||
pSoldier = TacticalCreateEnemyTank( );
|
||||
else
|
||||
pSoldier = TacticalCreateEliteEnemy( );
|
||||
|
||||
|
||||
@@ -5039,7 +5039,7 @@ void ObliterateSector()
|
||||
// CreateAnimationTile( &AniParams );
|
||||
//PlayJA2Sample( EXPLOSION_1, RATE_11025, MIDVOLUME, 1, MIDDLEPAN );
|
||||
|
||||
pTSoldier->EVENT_SoldierGotHit( 0, 400, 0, pTSoldier->ubDirection, 320, NOBODY , FIRE_WEAPON_NO_SPECIAL, pTSoldier->bAimShotLocation, 0, NOWHERE );
|
||||
pTSoldier->EVENT_SoldierGotHit( 1, 400, 0, pTSoldier->ubDirection, 320, NOBODY , FIRE_WEAPON_NO_SPECIAL, pTSoldier->bAimShotLocation, 0, NOWHERE );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user