MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SetSelectionRed

Function SetSelectionRed

src/viewport.cpp:2256–2260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2254
2255
2256void SetSelectionRed(bool b)
2257{
2258 _thd.make_square_red = b;
2259 SetSelectionTilesDirty();
2260}
2261
2262/**
2263 * Test whether a sign is below the mouse

Callers 3

ToggleRailButton_RemoveFunction · 0.85
ToggleRoadButton_RemoveFunction · 0.85
OnClickMethod · 0.85

Calls 1

SetSelectionTilesDirtyFunction · 0.85

Tested by

no test coverage detected