Don't limit types of objects visible on minimap with fixed image

master
krzys-h 2017-05-23 20:47:03 +02:00
parent 648dfd75c4
commit 004106eb19
1 changed files with 2 additions and 2 deletions

View File

@ -1281,7 +1281,7 @@ void CMap::UpdateObject(CObject* pObj)
if ( color == MAPCOLOR_NULL ) return; if ( color == MAPCOLOR_NULL ) return;
if (!m_fixImage.empty() && !m_bDebug) // map with still image? /*if (!m_fixImage.empty() && !m_bDebug) // map with still image?
{ {
if ( (type == OBJECT_TEEN28 || if ( (type == OBJECT_TEEN28 ||
type == OBJECT_TEEN34 ) && type == OBJECT_TEEN34 ) &&
@ -1290,7 +1290,7 @@ void CMap::UpdateObject(CObject* pObj)
if ( type != OBJECT_TEEN28 && if ( type != OBJECT_TEEN28 &&
type != OBJECT_TEEN34 && type != OBJECT_TEEN34 &&
color != MAPCOLOR_MOVE ) return; color != MAPCOLOR_MOVE ) return;
} }*/
if ( pObj->Implements(ObjectInterfaceType::Controllable) && dynamic_cast<CControllableObject*>(pObj)->GetSelect() ) if ( pObj->Implements(ObjectInterfaceType::Controllable) && dynamic_cast<CControllableObject*>(pObj)->GetSelect() )
{ {