mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Fix: wrong sound played
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8505 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3439,7 +3439,7 @@ BOOLEAN ShouldMercSayHappyWithGunQuote( SOLDIERTYPE *pSoldier )
|
||||
if ( Weapon[ pSoldier->usAttackingWeapon ].ubDeadliness > MIN_DEADLINESS_FOR_LIKE_GUN_QUOTE )
|
||||
{
|
||||
// 20 % chance?
|
||||
if ( Random( 100 ) < 20 )
|
||||
if ( Chance( 20 ) )
|
||||
{
|
||||
return( TRUE );
|
||||
}
|
||||
@@ -3768,15 +3768,12 @@ void HandleKilledQuote( SOLDIERTYPE *pKilledSoldier, SOLDIERTYPE *pKillerSoldier
|
||||
|
||||
// Buddy witnessed?
|
||||
SayBuddyWitnessedQuoteFromKill( pKillerSoldier, sGridNo, bLevel );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOLEAN HandleSoldierDeath( SOLDIERTYPE *pSoldier , BOOLEAN *pfMadeCorpse )
|
||||
{
|
||||
BOOLEAN fBuddyJustDead = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user