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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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]);
}