Skip to content

Commit

Permalink
add comment on first error of scoring to say that its harmless
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbert committed Dec 15, 2024
1 parent e10a5be commit 61f588f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/CvCityAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7321,6 +7321,7 @@ int CvCityAI::AI_getGoodTileCount() const
{
// This check is necessary to stop oscillation which can result
// when best build changes food situation for city, changing the best build.
// this signature is erroring out in vscode, but it does compile and work as intended, so we ignore the error
eBuild = scoring::min_score(
pLoopPlot->units() | filtered(CvUnit::fn::getBuildType() != NO_BUILD)
| transformed(CvUnit::fn::getBuildType()),
Expand Down

0 comments on commit 61f588f

Please sign in to comment.