From 6a9a39c096314984c41847539fc89ed6a92abf54 Mon Sep 17 00:00:00 2001 From: Overhaul Date: Sun, 8 Jul 2007 08:42:11 +0000 Subject: [PATCH] Fixed animation deadlock when crouched soldier's final destination is to jump a fence. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1033 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Soldier Ani.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Tactical/Soldier Ani.cpp b/Tactical/Soldier Ani.cpp index 98a7a4eb..5354f617 100644 --- a/Tactical/Soldier Ani.cpp +++ b/Tactical/Soldier Ani.cpp @@ -641,6 +641,13 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier ) // Set UI Busy UnSetUIBusy( pSoldier->ubID ); + + // 0verhaul + // I hate this kludgy stuff. We need to simplify the animation system so that things can be centralized + // and handled properly. + pSoldier->usPathIndex++; + // Kludge done + return( TRUE ); } }