Fix for clock problem when dual wield or auto-fire causes a soldier to turn on the first shot but knocks him down on a successive shot

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1542 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Overhaul
2007-10-23 08:06:02 +00:00
parent b0b9d14154
commit a1ac43ee58
3 changed files with 17 additions and 5 deletions
+3 -2
View File
@@ -6095,8 +6095,9 @@ void TurnSoldier( SOLDIERTYPE *pSoldier)
// Release attacker
// DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String("@@@@@@@ Releasesoldierattacker, turning from hit animation ended") );
// ReleaseSoldiersAttacker( pSoldier );
DebugAttackBusy( "Finished turning from hit. Reducing attack busy.\n");
ReduceAttackBusyCount( );
// 0verhaul: Since I disabled the turn from hit ABC increase, I need to disable the turn from hit decrease too.
DebugAttackBusy( "Finished turning from hit. Not Reducing attack busy.\n");
//ReduceAttackBusyCount( );
//FREEUP GETTING HIT FLAG
// pSoldier->fGettingHit = FALSE;