The International Simutrans Forum

 

Author Topic: Buying multitile citybuildings is bugged  (Read 214 times)

0 Members and 1 Guest are viewing this topic.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1578
  • PAK-DEV P192C
  • Languages: DE, EN
Buying multitile citybuildings is bugged
« on: January 10, 2021, 12:14:46 PM »
So you click on a tile of the multitile citybuilding with the buy-citybuilding tool.
- You pay for the tile you click on and all tiles south/east of it that belong to the building (=the cost floats in the air)
- You are not considered the owner of the building in it's dialog, unless you buy the north-west corner
- Other players can still delete buildings you own, so long as they use the delete tool on a TILE you didn't buy. That is, to protect a 2x2 building, you'd have to buy all tiles, in sum at 9x the regular buy-building-cost.
(I cannot say whether cities would renovate them)

There is a disconnect - the tool seemingly buys the tile, which in the past would be the whole citybuilding, but isn't anymore. Probably just needs to buy all tiles the building stands on instead.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Re: Buying multitile citybuildings is bugged
« Reply #1 on: January 10, 2021, 01:39:16 PM »
Ups, adding gb = gb->get_first_tile(); fixes this in r9542. Thanks for spotting out.