From 843718a6c4ce4c93f213c22913d5fcd75cf80d2d Mon Sep 17 00:00:00 2001 From: elasota Date: Thu, 26 Dec 2019 15:22:40 -0500 Subject: [PATCH] Fix air duct crash --- GpApp/Transit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GpApp/Transit.cpp b/GpApp/Transit.cpp index 7d101cb..263b049 100644 --- a/GpApp/Transit.cpp +++ b/GpApp/Transit.cpp @@ -129,6 +129,9 @@ void ReadyGliderFromTransit (gliderPtr thisGlider, short toWhat) thisGlider->destShadow.right = tempRect.right; thisGlider->whole = thisGlider->dest; thisGlider->wholeShadow = thisGlider->destShadow; + // GP: Match rects + thisGlider->src.bottom = thisGlider->src.top; + thisGlider->mask.bottom = thisGlider->mask.top; break; case kLinkedToFloorDuct: