Make sure aliens hatched from eggs are not selectable by default, closes

1008-fix
krzys-h 2018-05-09 23:25:52 +02:00
parent 319d8e6854
commit ed397d2b0f
1 changed files with 2 additions and 0 deletions
src/object

View File

@ -684,6 +684,8 @@ void COldObject::SetType(ObjectType type)
m_type = type;
m_name = GetObjectName(m_type);
SetSelectable(IsSelectableByDefault(m_type));
// TODO: Temporary hack
if ( m_type == OBJECT_MOBILEfa || // WingedGrabber
m_type == OBJECT_MOBILEfs || // WingedSniffer