(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers
This commit is contained in:
@@ -76,6 +76,9 @@ static const uint RVC_TURN_AROUND_START_FRAME_SHORT_TRAM = 16;
|
||||
static const uint RVC_DRIVE_THROUGH_STOP_FRAME = 11;
|
||||
static const uint RVC_DEPOT_STOP_FRAME = 11;
|
||||
|
||||
/** The number of ticks a vehicle has for overtaking. */
|
||||
static const byte RV_OVERTAKE_TIMEOUT = 35;
|
||||
|
||||
void RoadVehUpdateCache(RoadVehicle *v);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user