Implement safe commando demolition

This commit is contained in:
Terra_Ex 2020-06-13 03:34:00 +01:00
parent d9e287e08b
commit 69fd369fdc

View file

@ -1936,6 +1936,7 @@ void BuildingClass::Drop_Debris(TARGET source)
/* /*
** Infantry could run out of a destroyed building. ** Infantry could run out of a destroyed building.
*/ */
if(!IsGoingToBlow)
if (!House->IsToDie && !IsSurvivorless) { if (!House->IsToDie && !IsSurvivorless) {
InfantryClass * i = NULL; InfantryClass * i = NULL;