Fix air duct crash

This commit is contained in:
elasota
2019-12-26 15:22:40 -05:00
parent 501f36070a
commit 843718a6c4

View File

@@ -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: