From d70bca79809969a649676672500b0ad35c7e14e6 Mon Sep 17 00:00:00 2001 From: iikorni Date: Thu, 9 Dec 2021 22:48:11 -0600 Subject: [PATCH] Fix error with MagicCarpet BoundBox conversion --- src/openrct2/ride/thrill/MagicCarpet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/ride/thrill/MagicCarpet.cpp b/src/openrct2/ride/thrill/MagicCarpet.cpp index 32b9d2224e..e00a9f5077 100644 --- a/src/openrct2/ride/thrill/MagicCarpet.cpp +++ b/src/openrct2/ride/thrill/MagicCarpet.cpp @@ -203,7 +203,7 @@ static void PaintMagicCarpetStructure( bbOffset.y = bb.offset.y; bbOffset.z = height + 7; bbSize.x = bb.length.x; - bbSize.y = bb.offset.y; + bbSize.y = bb.length.y; bbSize.z = 127; PaintMagicCarpetFrame(session, Plane::Back, direction, offset, bbOffset, bbSize);