Mercurial > hg > openttd
changeset 18462:1e4a674d464e draft
(svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog
author | truebrain <truebrain@openttd.org> |
---|---|
date | Wed, 23 Nov 2011 16:25:38 +0000 |
parents | 10d16278bb7d |
children | fd326f432b27 |
files | src/ai/api/ai_cargo.cpp src/ai/api/ai_changelog.hpp |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)
--- 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: