summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-03-06 19:12:56 +0000
committermaedhros <maedhros@openttd.org>2007-03-06 19:12:56 +0000
commit878b6fcf372fdd17108683bd0c9c190519f4b7cc (patch)
treea6eb067506dacac85c0391d2930cca3ad1bbeb70 /src/newgrf_callbacks.h
parent38cc68898db2ebeb5b8ee9e2eff4cb96188416be (diff)
downloadopenttd-878b6fcf372fdd17108683bd0c9c190519f4b7cc.tar.xz
(svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask.
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index edc2ea6bf..84c21f53d 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -19,8 +19,8 @@ enum CallbackID {
// only for train vehicles
CBID_TRAIN_VEHICLE_LENGTH = 0x11,
- /* Called to determine the amount of cargo to load per unit of time when
- * using gradual loading. */
+ /* Called (if appropriate bit in callback mask is set) to determine the
+ * amount of cargo to load per unit of time when using gradual loading. */
CBID_VEHICLE_LOAD_AMOUNT = 0x12,
/* Called (if appropriate bit in callback mask is set) to determine if a