summaryrefslogtreecommitdiff
path: root/src/script/api/game_changelog.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-07-12 17:04:14 +0000
committeralberth <alberth@openttd.org>2014-07-12 17:04:14 +0000
commit8fe8765aaa93e0c992305a7a9c4b21dd9c1842c7 (patch)
treedd7dcc52320f1a73f9fcb2af909e51fa6c1b36fb /src/script/api/game_changelog.hpp
parent98194e7b6a2ad0615b8c68fa368e246f470ea09d (diff)
downloadopenttd-8fe8765aaa93e0c992305a7a9c4b21dd9c1842c7.tar.xz
(svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters.
Diffstat (limited to 'src/script/api/game_changelog.hpp')
-rw-r--r--src/script/api/game_changelog.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/api/game_changelog.hpp b/src/script/api/game_changelog.hpp
index a6a80f9b3..6f1a93b52 100644
--- a/src/script/api/game_changelog.hpp
+++ b/src/script/api/game_changelog.hpp
@@ -22,6 +22,10 @@
* API additions:
* \li GSStation::GetCargoWaitingFromVia
*
+ * Other changes:
+ * \li GSCargoMonitor delivery and pickup monitor functions have improved boundary checking for
+ * their parameters, and return \c -1 if they are found out of bounds.
+ *
* \b 1.4.0
*
* API additions: