OpenRCT2 / OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢
https://openrct2.io
GNU General Public License v3.0
13.3k stars 1.52k forks source link

Cannot lower ground because roller coaster is in the way. But the coaster is above it! #2296

Open formlesstree4 opened 8 years ago

formlesstree4 commented 8 years ago

Click here for the save file.

I've got a Wild Mouse roller coaster I am working on. There is a piece of land that is sticking up that looks rather unsightly, so, i thought I would just lower the land:

Land 'ho

However, the game disagrees with me lowering it: Cannot lower the land.

The coaster, as far as I can tell, is rendered above it and is positioned above it. So why does the game insist it cannot lower the land?

Gymnasiast commented 8 years ago

Original bug. It's probably caused due to the high end of the land being higher than the lowest point of the roller coaster.

jensj12 commented 8 years ago

There are more bugs with coasters and terrain. You sometimes can't raise the land if there is a coaster but you can build the coaster if you've raised the land before.

The coaster builder only checks for the space actually used, but the terrain editor checks for a larger area (in this case even two units larger).

ghost commented 8 years ago

I seem to remember running across this bug a long time ago playing the original game. I'm currently decompiling the relevant code, so I'll look into this. There are quite a few original bugs in the detection of map elements when landscaping.