- 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:
Flugente
2015-07-23 19:14:21 +00:00
parent e0dc813ea6
commit f4f124c7b0
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -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( );
+1 -1
View File
@@ -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 );
}
}
}