mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Zero out structures when creating houses and rooms
This commit is contained in:
@@ -224,6 +224,7 @@ Boolean InitializeEmptyHouse (void)
|
||||
}
|
||||
|
||||
thisHousePtr = *thisHouse;
|
||||
memset(thisHousePtr, 0, houseSizeNoRooms);
|
||||
|
||||
thisHousePtr->version = kHouseVersion;
|
||||
thisHousePtr->firstRoom = -1;
|
||||
|
Reference in New Issue
Block a user