From 924ccd8815c2aa2a39915c75aefa7a937e2bd646 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:14:22 +0200 Subject: [PATCH] Use ubID instead of cnt --- Tactical/Overhead.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tactical/Overhead.cpp b/Tactical/Overhead.cpp index 863b08646..60bcd5591 100644 --- a/Tactical/Overhead.cpp +++ b/Tactical/Overhead.cpp @@ -3474,10 +3474,8 @@ BOOLEAN ResetAllAnimationCache( ) { if ( pSoldier != NULL ) { - InitAnimationCache( cnt, &(pSoldier->AnimCache) ); - + InitAnimationCache( pSoldier->ubID, &(pSoldier->AnimCache) ); } - } return( TRUE );