(svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask.

This commit is contained in:
maedhros
2007-03-06 19:12:56 +00:00
parent 38cc68898d
commit 878b6fcf37
2 changed files with 3 additions and 3 deletions

View File

@@ -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