mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #17666: Map edge glitches when using mountain near it
This commit is contained in:
parent
22a1fe3909
commit
4a3c2f4fb4
|
@ -9,6 +9,7 @@
|
|||
- Change: [#20550] Change SEK conversion rate from 1 GBP to 0.1 GBP.
|
||||
- Fix: [#6152] Camera and UI are no longer locked at 40 Hz, providing a smoother experience.
|
||||
- Fix: [#9534] Screams no longer cut-off on steep diagonal drops.
|
||||
- Fix: [#17666] Using the mountain tool near the edge of the map with clearance checks disabled causes visual glitches.
|
||||
- Fix: [#19450] The correct element is now auto-suggested when building a Medium Half Loop backwards.
|
||||
- Fix: [#19822] Tile inspector does not deep copy banners.
|
||||
- Fix: [#19823] Parkobj: disallow overriding objects of different object types.
|
||||
|
|
|
@ -177,13 +177,7 @@ GameActions::Result LandSetHeightAction::Execute() const
|
|||
|
||||
StringId LandSetHeightAction::CheckParameters() const
|
||||
{
|
||||
if (!LocationValid(_coords))
|
||||
{
|
||||
return STR_OFF_EDGE_OF_MAP;
|
||||
}
|
||||
|
||||
auto mapSizeMax = GetMapSizeMaxXY();
|
||||
if (_coords.x > mapSizeMax.x || _coords.y > mapSizeMax.y)
|
||||
if (!LocationValid(_coords) || MapIsEdge(_coords))
|
||||
{
|
||||
return STR_OFF_EDGE_OF_MAP;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
// It is used for making sure only compatible builds get connected, even within
|
||||
// single OpenRCT2 version.
|
||||
|
||||
#define NETWORK_STREAM_VERSION "15"
|
||||
#define NETWORK_STREAM_VERSION "16"
|
||||
|
||||
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
|
||||
|
||||
|
|
Loading…
Reference in New Issue