mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix accidentally inverted condition (#16704)
This commit is contained in:
parent
d87089259e
commit
66b402ccf6
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue