From bbbc19e7f8cb7122d1da10933870bd280192066f Mon Sep 17 00:00:00 2001 From: RecursiveVision <66801010+RecursiveVision@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:18:42 -0500 Subject: [PATCH] Fix GD_INT_GET comments Saving myself some effort later --- CvGameCoreDLL_Expansion2/CvCity.cpp | 6 +++--- CvGameCoreDLL_Expansion2/CvDllContext.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CvGameCoreDLL_Expansion2/CvCity.cpp b/CvGameCoreDLL_Expansion2/CvCity.cpp index 564671aa91..7cb823d251 100644 --- a/CvGameCoreDLL_Expansion2/CvCity.cpp +++ b/CvGameCoreDLL_Expansion2/CvCity.cpp @@ -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(); @@ -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(); } // -------------------------------------------------------------------------------- @@ -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; } diff --git a/CvGameCoreDLL_Expansion2/CvDllContext.cpp b/CvGameCoreDLL_Expansion2/CvDllContext.cpp index 4d352e9b93..f1bb0de952 100644 --- a/CvGameCoreDLL_Expansion2/CvDllContext.cpp +++ b/CvGameCoreDLL_Expansion2/CvDllContext.cpp @@ -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