diff options
author | celestar <celestar@openttd.org> | 2006-04-03 05:32:11 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-03 05:32:11 +0000 |
commit | 3aa1e38be6e0a3c01346fe4db1bb92b148d0f2a9 (patch) | |
tree | 7d8babf7cbe0b9ecf1ebc12e27848ef54f79d0e3 /economy.c | |
parent | a6403bd50a163434cb4a8a9354ac14ef6b0b90c6 (diff) | |
download | openttd-3aa1e38be6e0a3c01346fe4db1bb92b148d0f2a9.tar.xz |
(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Diffstat (limited to 'economy.c')
-rw-r--r-- | economy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |