(svn r22205) -Codechange: replace magic number with constant

This commit is contained in:
rubidium
2011-03-05 21:52:45 +00:00
parent 2aa14cc54b
commit e34c42de32
5 changed files with 11 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ void AddArticulatedParts(Vehicle *first)
v = rv;
rv->subtype = 0;
gcache->cached_veh_length = 8; // Callback is called when the consist is finished
gcache->cached_veh_length = VEHICLE_LENGTH; // Callback is called when the consist is finished
rv->state = RVSB_IN_DEPOT;
rv->roadtype = front->roadtype;