mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Merged from revision: 7159
- Fixed incomplete commit from revision 7156 (custom sounds for non-guns) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7160 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4249,6 +4249,11 @@ BOOLEAN UseLauncher( SOLDIERTYPE *pSoldier, INT32 sTargetGridNo )
|
||||
// done, if bursting, increment
|
||||
pSoldier->bDoBurst++;
|
||||
}
|
||||
|
||||
// anv: launcher attack noise
|
||||
UINT16 usUBItem = pSoldier->GetUsedWeaponNumber( &pSoldier->inv[ pSoldier->ubAttackingHand ] );
|
||||
UINT8 ubVolume = Weapon[ usUBItem ].ubAttackVolume;
|
||||
MakeNoise( pSoldier->ubID, pSoldier->sGridNo, pSoldier->pathing.bLevel, pSoldier->bOverTerrainType, ubVolume, NOISE_UNKNOWN );
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user