Fixed not working Converter, closes #574
parent
118ceaa099
commit
eef76a9b29
|
@ -422,6 +422,7 @@ bool CAutoConvert::SearchVehicle()
|
||||||
|
|
||||||
for (CObject* obj : CObjectManager::GetInstancePointer()->GetAllObjects())
|
for (CObject* obj : CObjectManager::GetInstancePointer()->GetAllObjects())
|
||||||
{
|
{
|
||||||
|
if (obj == m_object) continue;
|
||||||
ObjectType type = obj->GetType();
|
ObjectType type = obj->GetType();
|
||||||
if ( type == OBJECT_STONE ) continue;
|
if ( type == OBJECT_STONE ) continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue