src/town_cmd.cpp
changeset 9449 240fedf4ed2c
parent 9444 7afe01cdeec5
child 9450 9e7d05b0b1e5
equal deleted inserted replaced
9448:1c58609bae95 9449:240fedf4ed2c
  2191  */
  2191  */
  2192 static void TownActionBuildStatue(Town *t)
  2192 static void TownActionBuildStatue(Town *t)
  2193 {
  2193 {
  2194 	TileIndex tile = t->xy;
  2194 	TileIndex tile = t->xy;
  2195 
  2195 
  2196 	if (CircularTileSearch(tile, 9, SearchTileForStatue, t->index)) {
  2196 	if (CircularTileSearch(&tile, 9, SearchTileForStatue, t->index)) {
  2197 		SetBit(t->statues, _current_player); // Once found and built, "inform" the Town
  2197 		SetBit(t->statues, _current_player); // Once found and built, "inform" the Town
  2198 	}
  2198 	}
  2199 }
  2199 }
  2200 
  2200 
  2201 static void TownActionFundBuildings(Town *t)
  2201 static void TownActionFundBuildings(Town *t)