From 66b402ccf6f67999be6ca29dec17d4666ce903ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:08:25 -0800 Subject: [PATCH] Fix accidentally inverted condition (#16704) --- src/openrct2/rct1/S4Importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/rct1/S4Importer.cpp b/src/openrct2/rct1/S4Importer.cpp index 6b00d62d6f..ee1ba89554 100644 --- a/src/openrct2/rct1/S4Importer.cpp +++ b/src/openrct2/rct1/S4Importer.cpp @@ -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]); }