mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Const all the painted tile elements
Extracted from https://github.com/OpenRCT2/OpenRCT2/pull/7036
This commit is contained in:
committed by
Michał Janiszewski
parent
76a997aa18
commit
3f76bd214f
@@ -187,7 +187,7 @@ bool track_design_save(uint8 rideIndex)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool track_design_save_contains_tile_element(rct_tile_element *tileElement)
|
||||
bool track_design_save_contains_tile_element(const rct_tile_element * tileElement)
|
||||
{
|
||||
for (size_t i = 0; i < _trackSavedTileElementsCount; i++) {
|
||||
if (_trackSavedTileElements[i] == tileElement) {
|
||||
|
||||
Reference in New Issue
Block a user