mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Refactor some dialog handling, enforce proper port disposal
This commit is contained in:
@@ -594,7 +594,7 @@ void DoRoomInfo (void)
|
||||
}
|
||||
|
||||
InitCursor();
|
||||
DisposeDialog(roomInfoDialog);
|
||||
roomInfoDialog->Destroy();
|
||||
|
||||
// KillOffScreenPixMap(tileSrcMap);
|
||||
DisposeGWorld(tileSrcMap);
|
||||
@@ -847,7 +847,7 @@ short ChooseOriginalArt (short was)
|
||||
}
|
||||
}
|
||||
|
||||
DisposeDialog(theDialog);
|
||||
theDialog->Destroy();
|
||||
|
||||
return (newPictID);
|
||||
}
|
||||
|
Reference in New Issue
Block a user