mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Added Headrock's HAM 2.8
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2650 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+10
-2
@@ -470,7 +470,11 @@ void AddMissileTrail( BULLET *pBullet, FIXEDPT qCurrX, FIXEDPT qCurrY, FIXEDPT q
|
||||
}
|
||||
}
|
||||
|
||||
if (fTracer == TRUE)
|
||||
// HEADROCK HAM B2.5: Created new bullet flag that tells us whether this specific bullet is a tracer.
|
||||
// The condition now reads that flag and creates a lightshow only for tracer bullets. This flag is only
|
||||
// used if the new Tracer System is on.
|
||||
//if (fTracer == TRUE)
|
||||
if ((gGameExternalOptions.iRealisticTracers > 0 && gGameExternalOptions.iNumBulletsPerTracer > 0 && pBullet->fTracer == TRUE) || (gGameExternalOptions.iRealisticTracers == 0 && fTracer == TRUE))
|
||||
{
|
||||
if ( pBullet->iLoop < 5 )
|
||||
{
|
||||
@@ -517,7 +521,11 @@ void AddMissileTrail( BULLET *pBullet, FIXEDPT qCurrX, FIXEDPT qCurrY, FIXEDPT q
|
||||
AniParams.sDelay = (INT16)( 100 );
|
||||
}
|
||||
//else if ( pBullet->usFlags & ( BULLET_FLAG_TRACER ) )
|
||||
else if (fTracer == TRUE)
|
||||
// HEADROCK HAM B2.5: Created new bullet flag that tells us whether this specific bullet is a tracer.
|
||||
// The condition now reads that flag and creates a lightshow only for tracer bullets. This flag is only
|
||||
// used if the new Tracer System is on.
|
||||
// else if (fTracer == TRUE)
|
||||
else if ((gGameExternalOptions.iRealisticTracers > 0 && gGameExternalOptions.iNumBulletsPerTracer > 0 && pBullet->fTracer == TRUE) || (gGameExternalOptions.iRealisticTracers == 0 && fTracer == TRUE))
|
||||
{
|
||||
INT16 sXPos, sYPos;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user