mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- new option: ENEMY_JAMS in [Tactical Gameplay Settings] allows enemy gun jams
- take into account unjam AP cost for jammed weapon - improved AI_BETTER_COVER option git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8409 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -10882,7 +10882,10 @@ BOOLEAN SOLDIERTYPE::InternalDoMercBattleSound( UINT8 ubBattleSoundID, INT8 bSpe
|
||||
// If we are an enemy.....reduce due to volume
|
||||
if ( pSoldier->bTeam != gbPlayerNum )
|
||||
{
|
||||
spParms.uiVolume = SoundVolume( (UINT8)spParms.uiVolume, pSoldier->sGridNo );
|
||||
if( ubBattleSoundID == BATTLE_SOUND_CURSE1 )
|
||||
spParms.uiVolume = (INT8)CalculateSpeechVolume( MIDVOLUME );
|
||||
else
|
||||
spParms.uiVolume = SoundVolume( (UINT8)spParms.uiVolume, pSoldier->sGridNo );
|
||||
}
|
||||
|
||||
spParms.uiLoop = 1;
|
||||
|
||||
Reference in New Issue
Block a user