MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ViewportUpdateSmartFollowVehicle

Function ViewportUpdateSmartFollowVehicle

src/openrct2/interface/Viewport.cpp:745–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743 }
744
745 void ViewportUpdateSmartFollowVehicle(WindowBase* window)
746 {
747 window->focus = Focus(window->viewportSmartFollowSprite);
748 window->viewportTargetSprite = window->viewportSmartFollowSprite;
749 }
750
751 static void ViewportRotateSingleInternal(WindowBase& w, int32_t direction)
752 {

Callers 1

Calls 1

FocusClass · 0.70

Tested by

no test coverage detected