From 31cb148d532a2122bcf34343eceb6d43bfbf3147 Mon Sep 17 00:00:00 2001 From: silversurfer Date: Sat, 14 Feb 2015 18:33:03 +0000 Subject: [PATCH] fix: after boxing the characters would retain their boxing flags including the AI control of player characters. This caused player characters to do random stuff. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7738 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Boxing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tactical/Boxing.cpp b/Tactical/Boxing.cpp index 676eb8f5..823e3127 100644 --- a/Tactical/Boxing.cpp +++ b/Tactical/Boxing.cpp @@ -184,6 +184,7 @@ void TriggerEndOfBoxingRecord( SOLDIERTYPE * pSoldier ) } SetBoxingState( NOT_BOXING ); + ClearAllBoxerFlags(); } UINT8 CountPeopleInBoxingRing( void )