Skip to content

Commit

Permalink
Fix GD_INT_GET comments
Browse files Browse the repository at this point in the history
Saving myself some effort later
  • Loading branch information
RecursiveVision committed Dec 6, 2024
1 parent 5beb30f commit bbbc19e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CvGameCoreDLL_Expansion2/CvCity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26930,7 +26930,7 @@ void CvCity::updateStrengthValue()

// Population mod
if (GET_PLAYER(getOwner()).isMinorCiv() || !MOD_BALANCE_CORE_CITY_DEFENSE_SWITCH)
iStrengthValue += getPopulation() * /*40 in CP, 10 in VP*/ GD_INT_GET(CITY_STRENGTH_POPULATION_CHANGE);
iStrengthValue += getPopulation() * /*40*/ GD_INT_GET(CITY_STRENGTH_POPULATION_CHANGE);

// Building Defense
int iBuildingDefense = m_pCityBuildings->GetBuildingDefense();
Expand Down Expand Up @@ -33433,7 +33433,7 @@ uint CvCity::GetCityBombardEffectTagHash() const
// ---------------------------------------------------------------------------
int CvCity::GetMaxHitPoints() const
{
return /*200 in CP, 300 in VP*/ GD_INT_GET(MAX_CITY_HIT_POINTS) + GetExtraHitPoints();
return /*200 in CP, 250 in VP*/ GD_INT_GET(MAX_CITY_HIT_POINTS) + GetExtraHitPoints();
}

// --------------------------------------------------------------------------------
Expand All @@ -33442,7 +33442,7 @@ int CvCity::GetExtraHitPoints() const
// Population mod
int iPopBonus = 0;
if (MOD_BALANCE_CORE_CITY_DEFENSE_SWITCH)
iPopBonus = getPopulation() * /*40 in CP, 10 in VP*/ GD_INT_GET(CITY_STRENGTH_POPULATION_CHANGE);
iPopBonus = getPopulation() * /*8*/ GD_INT_GET(CITY_STRENGTH_POPULATION_CHANGE);

return m_iExtraHitPoints + iPopBonus;
}
Expand Down
2 changes: 1 addition & 1 deletion CvGameCoreDLL_Expansion2/CvDllContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ int CvDllGameContext::GetMOVE_DENOMINATOR() const
//------------------------------------------------------------------------------
int CvDllGameContext::GetMAX_CITY_HIT_POINTS() const
{
return /*200 in CP, 300 in VP*/ GD_INT_GET(MAX_CITY_HIT_POINTS);
return /*200 in CP, 250 in VP*/ GD_INT_GET(MAX_CITY_HIT_POINTS);
}
//------------------------------------------------------------------------------
float CvDllGameContext::GetCITY_ZOOM_OFFSET() const
Expand Down

0 comments on commit bbbc19e

Please sign in to comment.