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 | 0b936c3222b3945f738885c6c7db3b46363ec6fe (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /dummy_land.c | |
parent | 4642ac94a903d1a358ac795240a6b800372b9020 (diff) | |
download | openttd-0b936c3222b3945f738885c6c7db3b46363ec6fe.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 */ }; - |