* * rct2: 0x006E876D */
| 1555 | * rct2: 0x006E876D |
| 1556 | */ |
| 1557 | void InvalidateScroll() |
| 1558 | { |
| 1559 | auto* windowMgr = GetWindowManager(); |
| 1560 | WindowBase* w = windowMgr->FindByNumber(gPressedWidget.windowClassification, gPressedWidget.windowNumber); |
| 1561 | if (w != nullptr) |
| 1562 | { |
| 1563 | // Reset to basic scroll |
| 1564 | w->scrolls[_currentScrollIndex].flags &= 0xFF11; |
| 1565 | windowMgr->InvalidateByNumber(gPressedWidget.windowClassification, gPressedWidget.windowNumber); |
| 1566 | } |
| 1567 | } |
| 1568 | |
| 1569 | /** |
| 1570 | * rct2: 0x00406C96 |
no test coverage detected