diff --git a/src/openrct2/ride/thrill/Twist.cpp b/src/openrct2/ride/thrill/Twist.cpp index f5646b65f0..4ae20d191f 100644 --- a/src/openrct2/ride/thrill/Twist.cpp +++ b/src/openrct2/ride/thrill/Twist.cpp @@ -67,7 +67,7 @@ static void paint_twist_structure( { imageTemplate = ImageId(0, vehicle->peep_tshirt_colours[i], vehicle->peep_tshirt_colours[i + 1]); auto peepFrameNum = (frameNum + i * 12) % 216; - imageId = imageId.WithIndex(baseImageId + 24 + peepFrameNum); + imageId = imageTemplate.WithIndex(baseImageId + 24 + peepFrameNum); PaintAddImageAsChild( session, imageId, { xOffset, yOffset, height }, { 24, 24, 48 }, { xOffset + 16, yOffset + 16, height }); }