(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE

This commit is contained in:
celestar
2006-04-03 05:32:11 +00:00
parent a6403bd50a
commit 3aa1e38be6
13 changed files with 103 additions and 103 deletions

View File

@@ -1448,7 +1448,7 @@ int LoadUnloadVehicle(Vehicle *v)
if (v->type == VEH_Train) {
// Each platform tile is worth 2 rail vehicles.
int overhang = v->u.rail.cached_total_length - GetStationPlatforms(st, v->tile) * 16;
int overhang = v->u.rail.cached_total_length - GetStationPlatforms(st, v->tile) * TILE_SIZE;
if (overhang > 0) {
unloading_time <<= 1;
unloading_time += (overhang * unloading_time) / 8;