diff options
author | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
commit | 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /dummy_land.c | |
parent | 01638700067b9720c187598ad6b4bf786e0e63c1 (diff) | |
download | openttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz |
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
Diffstat (limited to 'dummy_land.c')
-rw-r--r-- | dummy_land.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy_land.c b/dummy_land.c index 66be1c42f..97b9a05d4 100644 --- a/dummy_land.c +++ b/dummy_land.c @@ -19,7 +19,8 @@ static uint GetSlopeZ_Dummy(const TileInfo* ti) return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } -static uint GetSlopeTileh_Dummy(const TileInfo *ti) { +static uint GetSlopeTileh_Dummy(const TileInfo* ti) +{ return ti->tileh; } @@ -81,4 +82,3 @@ const TileTypeProcs _tile_type_dummy_procs = { NULL, /* vehicle_leave_tile_proc */ GetSlopeTileh_Dummy, /* get_slope_tileh_proc */ }; - |