mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 08:12:53 +01:00
Testpaint and MSVC fixes
This commit is contained in:
@@ -217,7 +217,7 @@ AudioParams audio_get_params_from_location(sint32 soundId, const LocationXYZ16 *
|
||||
params.volume = 0;
|
||||
params.pan = 0;
|
||||
|
||||
rct_tile_element * element = map_get_surface_element_at((BigCoordsXY){location->x, location->y});
|
||||
rct_tile_element * element = map_get_surface_element_at({location->x, location->y});
|
||||
if (element && (element->base_height * 8) - 5 > location->z)
|
||||
{
|
||||
volumeDown = 10;
|
||||
|
||||
@@ -39,7 +39,7 @@ uint32 gCurrentViewportFlags;
|
||||
uint32 gScenarioTicks;
|
||||
uint8 gCurrentRotation;
|
||||
|
||||
const LocationXY16 TileDirectionDelta[] = {
|
||||
const BigCoordsXY TileDirectionDelta[] = {
|
||||
{-32, 0},
|
||||
{0, +32},
|
||||
{+32, 0},
|
||||
|
||||
Reference in New Issue
Block a user