diff options
author | rubidium <rubidium@openttd.org> | 2013-04-06 12:36:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-04-06 12:36:33 +0000 |
commit | 7a3d549f2f2b372fd97fce6795a49b7c49823548 (patch) | |
tree | 4201a25b4a42fa803bda5b12a94d8b64dce6ce77 /src/script/api/ai_changelog.hpp | |
parent | b2292122b660372f253a8e0813e24366cbd049dc (diff) | |
download | openttd-7a3d549f2f2b372fd97fce6795a49b7c49823548.tar.xz |
(svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
Diffstat (limited to 'src/script/api/ai_changelog.hpp')
-rw-r--r-- | src/script/api/ai_changelog.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/script/api/ai_changelog.hpp b/src/script/api/ai_changelog.hpp index a01692982..6f1741c1c 100644 --- a/src/script/api/ai_changelog.hpp +++ b/src/script/api/ai_changelog.hpp @@ -19,6 +19,13 @@ * * 1.4.0 is not yet released. The following changes are not set in stone yet. * + * API additions: + * \li AIStation::HasRating + * + * Other changes: + * \li AIStation::GetRating does return -1 for cargo-station combinations that + * do not have a rating yet instead of returning 69. + * * \b 1.3.0 * * API additions: |