diff options
author | peter1138 <peter1138@openttd.org> | 2008-04-29 07:11:54 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-04-29 07:11:54 +0000 |
commit | 5ca6fd67fcf22c9293a79d0c04d9f487a9b853d9 (patch) | |
tree | 36d5420c98695a693d66dfeb7cbd25242891e281 /src/road.cpp | |
parent | 868c17a175236b7cc0d08e6df881a2e1124e895e (diff) | |
download | openttd-5ca6fd67fcf22c9293a79d0c04d9f487a9b853d9.tar.xz |
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
Diffstat (limited to 'src/road.cpp')
-rw-r--r-- | src/road.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/road.cpp b/src/road.cpp index e96e79358..095f82f9c 100644 --- a/src/road.cpp +++ b/src/road.cpp @@ -96,10 +96,10 @@ RoadTypes GetPlayerRoadtypes(PlayerID p) { RoadTypes rt = ROADTYPES_NONE; - EngineID i; - FOR_ALL_ENGINEIDS_OF_TYPE(i, VEH_ROAD) { - const Engine* e = GetEngine(i); - const EngineInfo *ei = EngInfo(i); + EngineID eid; + FOR_ALL_ENGINEIDS_OF_TYPE(eid, VEH_ROAD) { + const Engine* e = GetEngine(eid); + const EngineInfo *ei = EngInfo(eid); if (HasBit(ei->climates, _opt.landscape) && (HasBit(e->player_avail, p) || _date >= e->intro_date + 365)) { |