mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
*********************************************************
* 2006/05/04 * * Madd Mugsy * * Developed in VS 2003 * ********************************************************* - Added tile lighting animation effects to tracer bullets, forced muzzle flash on tracers so enemies can see you, regardless of flash suppression - Re-enabled laptop animation, since Lesh fixed it (I forgot to mention that in my earlier changes :p) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@54 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+5
-1
@@ -6637,10 +6637,14 @@ BOOLEAN IsRemoteDetonatorAttached( OBJECTTYPE * pObj )
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
BOOLEAN IsFlashSuppressor( OBJECTTYPE * pObj )
|
||||
BOOLEAN IsFlashSuppressor( OBJECTTYPE * pObj, SOLDIERTYPE * pSoldier )
|
||||
{
|
||||
INT8 bLoop;
|
||||
|
||||
//Madd: tracers automatically negate any muzzle flash suppression due to inherent lighting effects
|
||||
if (Item[pObj->usItem].usItemClass == IC_GUN && AmmoTypes[pObj->ubGunAmmoType].tracerEffect && pSoldier->bDoBurst )
|
||||
return FALSE;
|
||||
|
||||
if (Item[pObj->usItem].hidemuzzleflash )
|
||||
return TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user