# HG changeset patch # User truebrain # Date 2011-11-23 16:25:38 # Node ID 521c91d2118e31fe6d9f40ea122763c8322681c7 # Parent 7951ff5b73a123b52d04e5d3df87f37511b27b19 (svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog diff --git a/src/ai/api/ai_cargo.cpp b/src/ai/api/ai_cargo.cpp --- a/src/ai/api/ai_cargo.cpp +++ b/src/ai/api/ai_cargo.cpp @@ -22,7 +22,7 @@ /* static */ bool AICargo::IsValidTownEffect(TownEffect towneffect_type) { - return (towneffect_type >= (TownEffect)TE_BEGIN && towneffect_type < (TownEffect)TE_END); + return (towneffect_type >= (::TownEffect)TE_BEGIN && towneffect_type < (::TownEffect)TE_END); } /* static */ char *AICargo::GetCargoLabel(CargoID cargo_type) diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -39,6 +39,7 @@ * \li AITown::GetGrowthRate * \li AITown::GetLastMonthReceived * \li AITown::GetTownAuthority + * \li AITownEffectList (to walk over all available town effects) * \li AIVehicle::ERR_VEHICLE_TOO_LONG in case vehicle length limit is reached * * API renames: