Handle refactor

This commit is contained in:
elasota
2019-12-29 23:14:37 -05:00
parent 9cf539eb52
commit fb105bd338
37 changed files with 365 additions and 240 deletions

View File

@@ -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)
{