diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:32:52 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:32:52 +0000 |
commit | e127fca384892a22a393fe68c88d9291c5c1d18c (patch) | |
tree | 171a95ea61a2f3462caa4d124139dcdd59a3114d /src/newgrf_house.cpp | |
parent | d7ec492887674362c6a054b28faf26707932df64 (diff) | |
download | openttd-e127fca384892a22a393fe68c88d9291c5c1d18c.tar.xz |
(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r-- | src/newgrf_house.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp index 1f525bd8e..d267ff1f2 100644 --- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -469,7 +469,7 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id) } /* Simple wrapper for GetHouseCallback to keep the animation unified. */ -uint16 GetSimpleHouseCallback(CallbackID callback, uint32 param1, uint32 param2, const HouseSpec *spec, const Town *town, TileIndex tile) +uint16 GetSimpleHouseCallback(CallbackID callback, uint32 param1, uint32 param2, const HouseSpec *spec, Town *town, TileIndex tile) { return GetHouseCallback(callback, param1, param2, spec - HouseSpec::Get(0), town, tile); } |