(svn r22562) -Codechange: Remove constness from TownGetVariable.

This commit is contained in:
terkhen
2011-06-12 20:37:26 +00:00
parent f1cde00372
commit dd8a436cbb
5 changed files with 5 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ static uint32 GetDistanceFromNearbyHouse(uint8 parameter, TileIndex tile, HouseI
*/
static uint32 HouseGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available)
{
const Town *town = object->u.house.town;
Town *town = object->u.house.town;
TileIndex tile = object->u.house.tile;
HouseID house_id = object->u.house.house_id;