forked from mirror/OpenTTD
(svn r14949) -Cleanup: pointer coding style
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
*/
|
||||
bool RoadVehiclesAreBuilt()
|
||||
{
|
||||
const Vehicle* v;
|
||||
const Vehicle *v;
|
||||
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
if (v->type == VEH_ROAD) return true;
|
||||
@@ -1394,7 +1394,7 @@ static void TileLoop_Road(TileIndex tile)
|
||||
|
||||
{
|
||||
/* Adjust road ground type depending on 'grp' (grp is the distance to the center) */
|
||||
const Roadside* new_rs = (_settings_game.game_creation.landscape == LT_TOYLAND) ? _town_road_types_2[grp] : _town_road_types[grp];
|
||||
const Roadside *new_rs = (_settings_game.game_creation.landscape == LT_TOYLAND) ? _town_road_types_2[grp] : _town_road_types[grp];
|
||||
Roadside cur_rs = GetRoadside(tile);
|
||||
|
||||
/* We have our desired type, do nothing */
|
||||
|
Reference in New Issue
Block a user