mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 14:02:59 +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
@@ -508,8 +508,8 @@ void game_fix_save_vars()
|
||||
// At this point, we can be sure that surfaceElement is not NULL.
|
||||
if (x == 0 || x == gMapSize - 1 || y == 0 || y == gMapSize - 1)
|
||||
{
|
||||
surfaceElement->base_height = 2;
|
||||
surfaceElement->clearance_height = 2;
|
||||
surfaceElement->SetBaseZ(2 * COORDS_Z_STEP);
|
||||
surfaceElement->SetClearanceZ(2 * COORDS_Z_STEP);
|
||||
surfaceElement->SetSlope(0);
|
||||
surfaceElement->SetWaterHeight(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user