mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Handle refactor
This commit is contained in:
@@ -120,9 +120,9 @@ Boolean InitializeEmptyHouse (void)
|
||||
Str255 tempStr;
|
||||
|
||||
if (thisHouse != nil)
|
||||
DisposeHandle((Handle)thisHouse);
|
||||
thisHouse.Dispose();
|
||||
|
||||
thisHouse = (houseHand)NewHandle(sizeof(houseType));
|
||||
thisHouse = NewHandle(sizeof(houseType)).StaticCast<houseType>();
|
||||
|
||||
if (thisHouse == nil)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user