mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- New Animation: Prone bandaging (by Sandro & PasHancock)
o Also available in a multiplayer game git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5264 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3008,6 +3008,10 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
|
||||
PlaySoldierJA2Sample( pSoldier->ubID, FENCE_OPEN, RATE_11025, SoundVolume( HIGHVOLUME, pSoldier->sGridNo ), 1, SoundDir( pSoldier->sGridNo ), TRUE );
|
||||
break;
|
||||
|
||||
case 792:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
// Adjust frame control pos, and try again
|
||||
pSoldier->usAniCode++;
|
||||
@@ -3019,6 +3023,12 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
|
||||
pSoldier->usAniCode = 0;
|
||||
|
||||
}
|
||||
else if ( sNewAniFrame > 999 )
|
||||
{
|
||||
// Jump, to animation script ( in the 300+ range )
|
||||
pSoldier->EVENT_InitNewSoldierAnim( (UINT16)(sNewAniFrame - 700 ), 0 , FALSE );
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
// Loop here until we break on a real item!
|
||||
} while ( TRUE );
|
||||
|
||||
Reference in New Issue
Block a user