(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers

This commit is contained in:
rubidium
2011-02-02 22:06:14 +00:00
parent a42c0ea88b
commit bbe94dc497
2 changed files with 8 additions and 8 deletions

View File

@@ -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);
/**