diff --git a/LEGO1/lego/legoomni/include/legopathcontroller.h b/LEGO1/lego/legoomni/include/legopathcontroller.h index 1b1c9dd6..4bcf17c9 100644 --- a/LEGO1/lego/legoomni/include/legopathcontroller.h +++ b/LEGO1/lego/legoomni/include/legopathcontroller.h @@ -256,6 +256,9 @@ class LegoPathController : public MxCore { // TEMPLATE: LEGO1 0x10049370 // _Tree >::_Kfn,LegoPathCtrlEdgeCompare,allocator >::_Ubound +// TEMPLATE: LEGO1 0x100493a0 +// list >::~list > + // TEMPLATE: LEGO1 0x10049410 // list >::insert @@ -265,6 +268,9 @@ class LegoPathController : public MxCore { // TEMPLATE: LEGO1 0x100494a0 // _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::iterator::_Inc +// TEMPLATE: LEGO1 0x100494e0 +// _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::~_Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::insert @@ -283,12 +289,24 @@ class LegoPathController : public MxCore { // TEMPLATE: LEGO1 0x10049e00 // _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::_Insert +// TEMPLATE: LEGO1 0x10049d10 +// _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::_Erase + // TEMPLATE: LEGO1 0x1004a090 // _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::_Lrotate // TEMPLATE: LEGO1 0x1004a0f0 // _Tree >::_Kfn,LegoBEWithFloatComparator,allocator >::_Rrotate +// TEMPLATE: LEGO1 0x1004a150 +// List::~List + +// TEMPLATE: LEGO1 0x1004a1a0 +// Multiset::~Multiset + +// TEMPLATE: LEGO1 0x1004a1f0 +// multiset >::~multiset > + // TEMPLATE: LEGO1 0x1004a760 // _Construct diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index 479db5c9..4fd0ace2 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -829,9 +829,10 @@ MxResult LegoPathController::FUN_10048310( float dist; if ((dist = pfs->m_edge->DistanceToMidpoint(p_newPosition) + pfs->m_unk0x0c) < local70) { - local70 = dist; edgeWithFloat.m_edge = NULL; + local70 = dist; + // TODO: Match if (dist < local14) { local14 = dist; p_grec->erase(p_grec->begin(), p_grec->end());