Refactor some dialog handling, enforce proper port disposal

This commit is contained in:
elasota
2020-01-01 20:49:18 -05:00
parent 5fe6218c28
commit 1c6ab800a7
25 changed files with 121 additions and 91 deletions

View File

@@ -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);
}