mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- manual reload play sound added
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@178 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -94,5 +94,6 @@
|
||||
#include "Queen Command.h"
|
||||
#include "Lighting.h"
|
||||
#include "environment.h"
|
||||
#include "Sound Control.h"
|
||||
|
||||
#endif
|
||||
@@ -1876,7 +1876,7 @@ INT8 TryToReload( SOLDIERTYPE * pSoldier )
|
||||
|
||||
DeductPoints(pSoldier, Weapon[Item[(pObj)->usItem].ubClassIndex].APsToReloadManually, 0);
|
||||
|
||||
//PlayJA2Sample( Weapon[ Item[pObj->usItem].ubClassIndex ].ManualReloadSound, RATE_11025, SoundVolume( HIGHVOLUME, pSoldier->sGridNo ), 1, SoundDir( pSoldier->sGridNo ) );
|
||||
PlayJA2Sample( Weapon[ Item[pObj->usItem].ubClassIndex ].ManualReloadSound, RATE_11025, SoundVolume( HIGHVOLUME, pSoldier->sGridNo ), 1, SoundDir( pSoldier->sGridNo ) );
|
||||
return TRUE;
|
||||
}
|
||||
//</SB>
|
||||
|
||||
Reference in New Issue
Block a user