From 652ab949b033dd2f9213bbe196744269b1d565e4 Mon Sep 17 00:00:00 2001 From: X7123M3-256 Date: Mon, 28 Mar 2016 21:58:14 +0100 Subject: [PATCH] Define constant for the maximum number of cars in a train --- src/ride/ride.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ride/ride.h b/src/ride/ride.h index 65895e13c0..6933e77b4b 100644 --- a/src/ride/ride.h +++ b/src/ride/ride.h @@ -33,6 +33,8 @@ typedef fixed16_2dp ride_rating; // integer. To create the ride rating 3.65 type RIDE_RATING(3,65) #define RIDE_RATING(whole, fraction) FIXED_2DP(whole, fraction) +#define RIDE_MAX_CARS_PER_TRAIN 64 + // Used for return values, for functions that modify all three. typedef struct { ride_rating excitement;