Fixed enemy ruins not becoming neutral on destruction
parent
80963f1a2b
commit
61ea372e51
|
@ -709,6 +709,8 @@ bool COldObject::ExplodeObject(ExplosionType type, float force, float decay)
|
||||||
}
|
}
|
||||||
m_main->RemoveFromSelectionHistory(this);
|
m_main->RemoveFromSelectionHistory(this);
|
||||||
|
|
||||||
|
SetTeam(0); // Back to neutral on destruction
|
||||||
|
|
||||||
if ( m_botVar != 0 )
|
if ( m_botVar != 0 )
|
||||||
{
|
{
|
||||||
if ( m_type == OBJECT_STONE ||
|
if ( m_type == OBJECT_STONE ||
|
||||||
|
|
Loading…
Reference in New Issue