mirror of
https://github.com/electronicarts/CnC_Remastered_Collection
synced 2024-05-18 11:12:34 +12:00
Implement safe commando demolition
This commit is contained in:
parent
d9e287e08b
commit
69fd369fdc
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue