diff options
author | smatz <smatz@openttd.org> | 2009-06-25 19:23:09 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-25 19:23:09 +0000 |
commit | c30a87758fca7b0203b36b886aaa360f383f9278 (patch) | |
tree | 335422881e40cf333948e202c7f474eda030ad43 /src/landscape.cpp | |
parent | 103bff508bf4ddfc2018a1ee487742b5f6401568 (diff) | |
download | openttd-c30a87758fca7b0203b36b886aaa360f383f9278.tar.xz |
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r-- | src/landscape.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index 91372f456..854b0ba61 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -500,12 +500,6 @@ void ChangeTileOwner(TileIndex tile, Owner old_owner, Owner new_owner) _tile_type_procs[GetTileType(tile)]->change_tile_owner_proc(tile, old_owner, new_owner); } -void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac) -{ - memset(ac, 0, sizeof(AcceptedCargo)); - _tile_type_procs[GetTileType(tile)]->get_accepted_cargo_proc(tile, ac); -} - void AnimateTile(TileIndex tile) { _tile_type_procs[GetTileType(tile)]->animate_tile_proc(tile); |