mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- print interrogation progress as float number
- spy selftest in pointless without disguise - inventory explosion creates a sound git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -14263,6 +14263,9 @@ void SOLDIERTYPE::InventoryExplosion( void )
|
||||
INT16 breathdamage = (INT16)(500 + Random(1500));
|
||||
if ( bBreath - breathdamage < 0 )
|
||||
breathdamage = bBreath;
|
||||
|
||||
// Play sound
|
||||
PlayJA2SampleFromFile( "Sounds\\Explode1.wav", RATE_11025, HIGHVOLUME, 1, MIDDLEPAN );
|
||||
|
||||
SoldierTakeDamage( 0, damage, 0, breathdamage, TAKE_DAMAGE_EXPLOSION, this->ubID, sGridNo, 0, TRUE );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user