Fixed flying checkpoints activating multile times
parent
74609d9bea
commit
868dec4488
|
@ -2542,7 +2542,7 @@ int CPhysics::ObjectAdapt(const Math::Vector &pos, const Math::Vector &angle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( oType == OBJECT_TARGET2 )
|
if ( oType == OBJECT_TARGET2 && !pObj->GetLock() )
|
||||||
{
|
{
|
||||||
Math::Vector oPos = pObj->GetPosition();
|
Math::Vector oPos = pObj->GetPosition();
|
||||||
distance = Math::Distance(oPos, iPos);
|
distance = Math::Distance(oPos, iPos);
|
||||||
|
|
Loading…
Reference in New Issue