diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | 3ae50673a3e1e64a6038c53570c5ee168073e038 (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/elrail.cpp | |
parent | 795174edf13e99cdef7eda73fbc088e2b06df051 (diff) | |
download | openttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz |
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/elrail.cpp')
-rw-r--r-- | src/elrail.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp index b62c23456..ffd567f89 100644 --- a/src/elrail.cpp +++ b/src/elrail.cpp @@ -274,7 +274,7 @@ static void DrawCatenaryRailway(const TileInfo *ti) /* track found, if track is in the neighbour tile, adjust the number * of the PCP for preferred/allowed determination*/ DiagDirection PCPpos = (TrackSourceTile[i][k] == TS_HOME) ? i : ReverseDiagDir(i); - SETBIT(PCPstatus, i); // This PCP is in use + SetBit(PCPstatus, i); // This PCP is in use PPPpreferred[i] &= PreferredPPPofTrackAtPCP[TracksAtPCP[i][k]][PCPpos]; PPPallowed[i] &= ~DisallowedPPPofTrackAtPCP[TracksAtPCP[i][k]][PCPpos]; @@ -322,7 +322,7 @@ static void DrawCatenaryRailway(const TileInfo *ti) if ((height <= GetTileMaxZ(ti->tile) + TILE_HEIGHT) && (i == PCPpositions[bridgetrack][0] || i == PCPpositions[bridgetrack][1])) { - SETBIT(OverridePCP, i); + SetBit(OverridePCP, i); } } @@ -504,7 +504,7 @@ int32 SettingsDisableElrail(int32 p1) * so add there also normal rail compatibility */ v->u.rail.compatible_railtypes |= (1 << RAILTYPE_RAIL); v->u.rail.railtype = RAILTYPE_RAIL; - SETBIT(v->u.rail.flags, VRF_EL_ENGINE_ALLOWED_NORMAL_RAIL); + SetBit(v->u.rail.flags, VRF_EL_ENGINE_ALLOWED_NORMAL_RAIL); } } } |