diff --git a/src/UnitType.cpp b/src/UnitType.cpp index b1124c174f33816c16c86a001240d558f313dd79..9fcad4336a89816dd923588b151013d6bb0de22d 100644 --- a/src/UnitType.cpp +++ b/src/UnitType.cpp @@ -380,10 +380,10 @@ int UnitType::getMovementSpeed() const int UnitType::getSightRange() const { - return m_bot->Observation()->GetUnitTypeData()[m_type].sight_range; + return m_bot->Observation()->GetUnitTypeData()[m_type].sight_range; } sc2::UnitTypeID UnitType::getRequiredStructure() const { - return m_bot->Observation()->GetUnitTypeData()[m_type].tech_requirement; + return m_bot->Observation()->GetUnitTypeData()[m_type].tech_requirement; }