1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Confine provisional paths to Footpath.cpp

This commit is contained in:
Gymnasiast
2024-09-03 19:43:42 +02:00
parent ab3e919678
commit 4ff99d6fd1
10 changed files with 194 additions and 141 deletions

View File

@@ -9,6 +9,7 @@
#include "ViewportInteraction.h"
#include "../ProvisionalElements.h"
#include "../UiStringIds.h"
#include "../windows/Window.h"
#include "Viewport.h"
@@ -629,7 +630,7 @@ namespace OpenRCT2::Ui
{
WindowBase* w = WindowFindByClass(WindowClass::Footpath);
if (w != nullptr)
FootpathProvisionalUpdate();
FootpathUpdateProvisional();
TileElement* tileElement2 = MapGetFirstElementAt(mapCoords);
if (tileElement2 == nullptr)