Ticket #3531: 3531 - Remove last reference.patch

File 3531 - Remove last reference.patch, 622 bytes (added by Stan, 9 years ago)

Easy fix for it by removing the last reference.

  • source/simulation2/components/CCmpUnitMotion.cpp

     
    13161316#if DISABLE_PATHFINDER
    13171317    {
    13181318        CmpPtr<ICmpPathfinder> cmpPathfinder (GetSimContext(), SYSTEM_ENTITY);
    1319         CFixedVector2D goalPos = cmpPathfinder->GetNearestPointOnGoal(from, m_FinalGoal);
    13201319        m_LongPath.m_Waypoints.clear();
    13211320        m_ShortPath.m_Waypoints.clear();
    13221321        m_ShortPath.m_Waypoints.emplace_back(Waypoint{ goalPos.X, goalPos.Y });