Don't limit types of objects visible on minimap with fixed image
parent
648dfd75c4
commit
004106eb19
|
@ -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() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue