Skip to content

Commit

Permalink
fix #11548
Browse files Browse the repository at this point in the history
  • Loading branch information
azum4roll authored and axatin committed Jan 21, 2025
1 parent e5bbee0 commit 49d694b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ int CvBuilderTaskingAI::GetTotalRouteBuildTime(const CvUnit* pUnit, const CvPlot
map<int, PlannedRoute>::const_iterator it = m_bestRouteForPlot.find(pPlot->GetPlotIndex());

if (it == m_bestRouteForPlot.end())
return -1;
return INT_MAX;

return GetRouteBuildTime(it->second, pUnit);
}
Expand Down

0 comments on commit 49d694b

Please sign in to comment.