- 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:
Flugente
2013-07-04 19:37:27 +00:00
parent 86f1a862a5
commit 09b56d534c
3 changed files with 12 additions and 3 deletions
+3
View File
@@ -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 );