Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRCT2/OpenRCT2
/ SetHighlight
Method
SetHighlight
src/openrct2/world/tile_element/TrackElement.cpp:299–304 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
297
}
298
299
void TrackElement::SetHighlight(bool on)
300
{
301
Flags2 &= ~TRACK_ELEMENT_FLAGS2_HIGHLIGHT;
302
if (on)
303
Flags2 |= TRACK_ELEMENT_FLAGS2_HIGHLIGHT;
304
}
305
} // namespace OpenRCT2
Callers
2
GetTrackElementOriginAndApplyChanges
Function · 0.80
isHighlighted_set
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected