1
0
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:
Michael Steenbeek
2018-02-14 13:37:51 +01:00
parent 45e892e5b5
commit ca5a1e1f34
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -39,7 +39,7 @@ uint32 gCurrentViewportFlags;
uint32 gScenarioTicks;
uint8 gCurrentRotation;
const LocationXY16 TileDirectionDelta[] = {
const BigCoordsXY TileDirectionDelta[] = {
{-32, 0},
{0, +32},
{+32, 0},