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:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user