From 5c2001b6cc2974d8af2eb39b467bd009d5f7ea4f Mon Sep 17 00:00:00 2001 From: RecursiveVision <66801010+RecursiveVision@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:52:50 -0400 Subject: [PATCH] GOTTA, SWEEP SWEEP SWEEP! --- CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp | 12 ++++++------ .../VPUI Text/VPUI_tips_en_us.xml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp b/CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp index dde9846551..e0cdff560d 100644 --- a/CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp +++ b/CvGameCoreDLL_Expansion2/CvBuilderTaskingAI.cpp @@ -52,7 +52,7 @@ void CvBuilderTaskingAI::Init(CvPlayer* pPlayer) // special case to evaluate plots adjacent to city m_eUniqueCityAdjacentImprovement = NO_IMPROVEMENT; - m_eUniqueCostalImprovement = NO_IMPROVEMENT; + m_eUniqueCoastalImprovement = NO_IMPROVEMENT; m_eUniqueHillImprovement = NO_IMPROVEMENT; CivilizationTypes eCiv = m_pPlayer->getCivilizationType(); @@ -96,7 +96,7 @@ void CvBuilderTaskingAI::Init(CvPlayer* pPlayer) } if (pkImprovementInfo->IsCoastal()) { - m_eUniqueCostalImprovement = eImprovement; + m_eUniqueCoastalImprovement = eImprovement; } if (pkImprovementInfo->IsHillsMakesValid()) { @@ -120,7 +120,7 @@ void CvBuilderTaskingAI::Uninit(void) for (int i = 0; i < NUM_FEATURE_TYPES; i++) m_aeUniqueFeatureImprovement[i] = NO_IMPROVEMENT; m_eUniqueCityAdjacentImprovement = NO_IMPROVEMENT; - m_eUniqueCostalImprovement = NO_IMPROVEMENT; + m_eUniqueCoastalImprovement = NO_IMPROVEMENT; m_eUniqueHillImprovement = NO_IMPROVEMENT; } @@ -133,7 +133,7 @@ void CvBuilderTaskingAI::Serialize(BuilderTaskingAI& builderTaskingAI, Visitor& visitor(builderTaskingAI.m_canalWantedPlots); visitor(builderTaskingAI.m_aeUniqueFeatureImprovement); visitor(builderTaskingAI.m_eUniqueCityAdjacentImprovement); - visitor(builderTaskingAI.m_eUniqueCostalImprovement); + visitor(builderTaskingAI.m_eUniqueCoastalImprovement); visitor(builderTaskingAI.m_eUniqueHillImprovement); } @@ -1026,9 +1026,9 @@ ImprovementTypes CvBuilderTaskingAI::SavePlotForUniqueImprovement(CvPlot* pPlot) { return m_eUniqueCityAdjacentImprovement; } - else if (m_eUniqueCostalImprovement != NO_IMPROVEMENT && pPlot->isCoastalLand() && pPlot->canHaveImprovement(m_eUniqueCostalImprovement, m_pPlayer->GetID(), false, true)) + else if (m_eUniqueCoastalImprovement != NO_IMPROVEMENT && pPlot->isCoastalLand() && pPlot->canHaveImprovement(m_eUniqueCoastalImprovement, m_pPlayer->GetID(), false, true)) { - return m_eUniqueCostalImprovement; + return m_eUniqueCoastalImprovement; } else if (m_eUniqueHillImprovement != NO_IMPROVEMENT && pPlot->getPlotType() == PLOT_HILLS && pPlot->canHaveImprovement(m_eUniqueHillImprovement, m_pPlayer->GetID(), false, true)) { diff --git a/Vox Populi Installer Files/VPUI Text/VPUI_tips_en_us.xml b/Vox Populi Installer Files/VPUI Text/VPUI_tips_en_us.xml index 3ffd250c98..69b349a4c0 100644 --- a/Vox Populi Installer Files/VPUI Text/VPUI_tips_en_us.xml +++ b/Vox Populi Installer Files/VPUI Text/VPUI_tips_en_us.xml @@ -21,7 +21,7 @@ Highlight Building Bonuses - Highlight plots that would be buffed by a building when hovering over it in the city view production menu.[NEWLINE][COLOR_NEGATIVE_TEXT](Requires reload to take effect and may cause crashes!)[ENDCOLOR] + Highlight plots that would be buffed by a building when hovering over it in the city view production menu.[NEWLINE][COLOR_NEGATIVE_TEXT](Requires reload to take effect. May cause crashes for some players when hovering over buildings in the City Screen.)[ENDCOLOR] Separate Great Person and Religious Units