mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Refactoring
This commit is contained in:
@@ -93,9 +93,10 @@ Boolean CreateNewHouse (void)
|
||||
theErr = fm->CreateFileAtCurrentTime(theSpec.m_dir, theSpec.m_name, 'ozm5', 'gliH');
|
||||
if (!CheckFileError(theErr, PSTR("New House")))
|
||||
return (false);
|
||||
HCreateResFile(theSpec.m_dir, theSpec.m_name);
|
||||
if (ResError() != PLErrors::kNone)
|
||||
YellowAlert(kYellowFailedResCreate, ResError());
|
||||
|
||||
theErr = HCreateResFile(theSpec.m_dir, theSpec.m_name);
|
||||
if (theErr != PLErrors::kNone)
|
||||
YellowAlert(kYellowFailedResCreate, theErr);
|
||||
|
||||
PasStringCopy(theSpec.m_name, thisHouseName);
|
||||
AddExtraHouse(theSpec);
|
||||
|
Reference in New Issue
Block a user