1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Fix accidentally inverted condition (#16704)

This commit is contained in:
ζeh Matt
2022-02-22 13:08:25 -08:00
committed by GitHub
parent d87089259e
commit 66b402ccf6

View File

@@ -2770,7 +2770,7 @@ namespace RCT1
{
const auto spriteIndex = EntityId::FromUnderlying(src->peep[i]);
dst->peep[i] = spriteIndex;
if (spriteIndex.IsNull())
if (!spriteIndex.IsNull())
{
dst->peep_tshirt_colours[i] = RCT1::GetColour(src->peep_tshirt_colours[i]);
}