mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Merge pull request #15811 from ZehMatt/fix-15809
Fix #15809: Assign a temporary result to avoid crashes
This commit is contained in:
@@ -119,6 +119,8 @@ GameActions::Result::Ptr MapCanConstructWithClearAt(
|
||||
auto res = std::make_unique<GameActions::Result>();
|
||||
|
||||
uint8_t groundFlags = ELEMENT_IS_ABOVE_GROUND;
|
||||
res->SetData(ConstructClearResult{ groundFlags });
|
||||
|
||||
bool canBuildCrossing = false;
|
||||
if (map_is_edge(pos))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user