mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
File system refactoring
This commit is contained in:
@@ -161,7 +161,7 @@ Boolean CreateNewRoom (short h, short v)
|
||||
{
|
||||
KeyMap theKeys;
|
||||
long howMuch;
|
||||
OSErr theErr;
|
||||
PLError_t theErr;
|
||||
short i, availableRoom;
|
||||
char wasState;
|
||||
|
||||
@@ -195,7 +195,7 @@ Boolean CreateNewRoom (short h, short v)
|
||||
{
|
||||
howMuch = sizeof(roomType); // add new room to end of house
|
||||
theErr = PtrAndHand((Ptr)thisRoom, (Handle)thisHouse, howMuch);
|
||||
if (theErr != noErr)
|
||||
if (theErr != PLErrors::kNone)
|
||||
{
|
||||
YellowAlert(kYellowUnaccounted, theErr);
|
||||
return (false);
|
||||
|
||||
Reference in New Issue
Block a user