summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-23 16:25:38 +0000
committertruebrain <truebrain@openttd.org>2011-11-23 16:25:38 +0000
commit3008ded077559a33796d39638ab7012391fbf163 (patch)
tree758373f16ab40c55021aaac281afb4ca8567314b /src/ai
parent08fb6105924072dd1f3ac15494991022ab59934f (diff)
downloadopenttd-3008ded077559a33796d39638ab7012391fbf163.tar.xz
(svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/ai_cargo.cpp2
-rw-r--r--src/ai/api/ai_changelog.hpp1
2 files changed, 2 insertions, 1 deletions
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: