mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
committed by
GitHub
parent
38783c0c1d
commit
7459ba0efe
@@ -795,7 +795,7 @@ namespace OpenRCT2
|
||||
// Awards
|
||||
if (version <= 6)
|
||||
{
|
||||
Award awards[RCT2::Limits::MaxAwards];
|
||||
Award awards[RCT2::Limits::MaxAwards]{};
|
||||
cs.ReadWriteArray(awards, [&cs](Award& award) {
|
||||
if (award.Time != 0)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -5170,7 +5170,7 @@ void JuniorRCPaintTrack60DegUp(
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? METAL_SUPPORTS_FORK_ALT : METAL_SUPPORTS_FORK, 4, support[direction], height,
|
||||
session, (direction & 1) ? METAL_SUPPORTS_FORK_ALT : METAL_SUPPORTS_FORK, 4, support[direction & 3], height,
|
||||
session.TrackColours[SCHEME_SUPPORTS]);
|
||||
}
|
||||
|
||||
@@ -5262,7 +5262,7 @@ void JuniorRCPaintTrack25DegUpTo60DegUp(
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? METAL_SUPPORTS_FORK_ALT : METAL_SUPPORTS_FORK, 4, support[direction], height,
|
||||
session, (direction & 1) ? METAL_SUPPORTS_FORK_ALT : METAL_SUPPORTS_FORK, 4, support[direction & 3], height,
|
||||
session.TrackColours[SCHEME_SUPPORTS]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user