mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Create definitions for some coords related stuff (#10456)
* Create definitions for some coords related stuff * Use constexpr; add define for Z step
This commit is contained in:
committed by
Duncan
parent
2d7dccb0c2
commit
77494bbc73
@@ -2126,10 +2126,10 @@ void Ride::UpdateChairlift()
|
||||
return;
|
||||
|
||||
auto bullwheelLoc = ChairliftBullwheelLocation[0].ToCoordsXYZ();
|
||||
map_invalidate_tile_zoom1({ bullwheelLoc, bullwheelLoc.z, bullwheelLoc.z + (4 * 8) });
|
||||
map_invalidate_tile_zoom1({ bullwheelLoc, bullwheelLoc.z, bullwheelLoc.z + (4 * COORDS_Z_STEP) });
|
||||
|
||||
bullwheelLoc = ChairliftBullwheelLocation[1].ToCoordsXYZ();
|
||||
map_invalidate_tile_zoom1({ bullwheelLoc, bullwheelLoc.z, bullwheelLoc.z + (4 * 8) });
|
||||
map_invalidate_tile_zoom1({ bullwheelLoc, bullwheelLoc.z, bullwheelLoc.z + (4 * COORDS_Z_STEP) });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user