diff --git a/GpApp/House.cpp b/GpApp/House.cpp index 3930ea5..6251468 100644 --- a/GpApp/House.cpp +++ b/GpApp/House.cpp @@ -214,7 +214,7 @@ Boolean InitializeEmptyHouse (void) if (thisHouse != nil) thisHouse.Dispose(); - const size_t houseSizeNoRooms = sizeof(sizeof(houseType) - sizeof(roomType)); + const size_t houseSizeNoRooms = sizeof(houseType) - sizeof(roomType); thisHouse = NewHandle(houseSizeNoRooms).StaticCast(); if (thisHouse == nil)