diff --git a/TacticalAI/AIMain.cpp b/TacticalAI/AIMain.cpp index 1490558a..b92fd553 100644 --- a/TacticalAI/AIMain.cpp +++ b/TacticalAI/AIMain.cpp @@ -1213,6 +1213,12 @@ void ActionDone(SOLDIERTYPE *pSoldier) // although NewDest isn't called. A newSit. could cancel it before then! pSoldier->bPathStored = FALSE; } + + if (pSoldier->uiStatusFlags & SOLDIER_DEAD) + { + // The last action killed the soldier (stepped on a mine, detonated a LAW too close, etc) + EndAIGuysTurn( pSoldier); + } }