From 3008ded077559a33796d39638ab7012391fbf163 Mon Sep 17 00:00:00 2001 From: truebrain Date: Wed, 23 Nov 2011 16:25:38 +0000 Subject: (svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog --- src/ai/api/ai_cargo.cpp | 2 +- src/ai/api/ai_changelog.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ai/api/ai_cargo.cpp b/src/ai/api/ai_cargo.cpp index f77fe6dfb..73961c733 100644 --- 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 index 66acb6520..8e6a2afb7 100644 --- 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: -- cgit v1.2.3-54-g00ecf