SOLDIERTYPE::CreateSoldierCommon to SoldierID

This commit is contained in:
Asdow
2024-11-16 00:18:02 +02:00
parent 8ef7fb5ae4
commit 419b0c794d
6 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -3468,15 +3468,15 @@ void SelectSoldier( UINT16 usSoldierID, BOOLEAN fAcknowledge, BOOLEAN fForceRese
BOOLEAN ResetAllAnimationCache( )
{
UINT32 cnt;
SOLDIERTYPE *pSoldier;
UINT16 cnt;
SOLDIERTYPE *pSoldier;
// Loop through all mercs and make go
for ( pSoldier = Menptr, cnt = 0; cnt < TOTAL_SOLDIERS; pSoldier++, cnt++ )
{
if ( pSoldier != NULL )
{
InitAnimationCache( (UINT16)cnt, &(pSoldier->AnimCache) );
InitAnimationCache( cnt, &(pSoldier->AnimCache) );
}