mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Refactoring
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "FileManager.h"
|
||||
#include "House.h"
|
||||
#include "RectUtils.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "VirtualDirectory.h"
|
||||
|
||||
|
||||
@@ -111,7 +112,7 @@ void UpdateLoadDialog (DialogPtr theDialog)
|
||||
else
|
||||
LoadDialogPICT(theDialog, kLoadIconFirstItem + i - housePage,
|
||||
kDefaultHousePict8);
|
||||
CloseResFile(isResFile);
|
||||
PortabilityLayer::ResourceManager::GetInstance()->CloseResFile(isResFile);
|
||||
}
|
||||
else
|
||||
LoadDialogPICT(theDialog, kLoadIconFirstItem + i - housePage,
|
||||
|
||||
Reference in New Issue
Block a user