diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 10:18:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 10:18:13 +0000 |
commit | 7757a2ed406996be35c7179185f2e4e7cba37e12 (patch) | |
tree | ccf4b25e4efba9fee88cfb65ccabd68972c09400 /src/void_cmd.cpp | |
parent | 47203dbeb5080a5d24131a61ec12d1d3164bcb42 (diff) | |
download | openttd-7757a2ed406996be35c7179185f2e4e7cba37e12.tar.xz |
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
Diffstat (limited to 'src/void_cmd.cpp')
-rw-r--r-- | src/void_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/void_cmd.cpp b/src/void_cmd.cpp index e80f961c1..fb36d90cf 100644 --- a/src/void_cmd.cpp +++ b/src/void_cmd.cpp @@ -23,7 +23,7 @@ static void DrawTile_Void(TileInfo *ti) } -static uint GetSlopeZ_Void(TileIndex tile, uint x, uint y) +static uint GetSlopePixelZ_Void(TileIndex tile, uint x, uint y) { return TilePixelHeight(tile); } @@ -67,7 +67,7 @@ static CommandCost TerraformTile_Void(TileIndex tile, DoCommandFlag flags, uint extern const TileTypeProcs _tile_type_void_procs = { DrawTile_Void, // draw_tile_proc - GetSlopeZ_Void, // get_slope_z_proc + GetSlopePixelZ_Void, // get_slope_z_proc ClearTile_Void, // clear_tile_proc NULL, // add_accepted_cargo_proc GetTileDesc_Void, // get_tile_desc_proc |