mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Fix objects being draggable when there is no room
This commit is contained in:
@@ -1963,6 +1963,12 @@ void GetThisRoomsObjRects (void)
|
||||
|
||||
if ((noRoomAtAll) || (!houseUnlocked))
|
||||
{
|
||||
// clear object handles so they're not draggable
|
||||
QSetRect(&leftStartGliderDest, 0, 0, 0, 0);
|
||||
QSetRect(&rightStartGliderDest, 0, 0, 0, 0);
|
||||
for (i = 0; i < kMaxRoomObs; i++)
|
||||
QSetRect(&roomObjectRects[i], 0, 0, 0, 0);
|
||||
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user