mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Cleanup, add scanline mask builder
This commit is contained in:
@@ -447,10 +447,7 @@ void DoRoomInfo (void)
|
||||
ShowWindow(GetDialogWindow(roomInfoDialog));
|
||||
DrawDefaultButton(roomInfoDialog);
|
||||
|
||||
wasState = HGetState((Handle)thisHouse);
|
||||
HLock((Handle)thisHouse);
|
||||
wasFirstRoom = ((*thisHouse)->firstRoom == thisRoomNumber);
|
||||
HSetState((Handle)thisHouse, wasState);
|
||||
SetDialogItemValue(roomInfoDialog, kRoomFirstCheck, (short)wasFirstRoom);
|
||||
|
||||
if (tempBack >= kUserBackground)
|
||||
@@ -473,9 +470,7 @@ void DoRoomInfo (void)
|
||||
PasStringCopyNum(tempStr, thisRoom->name, 27);
|
||||
if (wasFirstRoom)
|
||||
{
|
||||
HLock((Handle)thisHouse);
|
||||
(*thisHouse)->firstRoom = thisRoomNumber;
|
||||
HUnlock((Handle)thisHouse);
|
||||
}
|
||||
thisRoom->background = tempBack;
|
||||
if (tempBack < kUserBackground)
|
||||
|
||||
Reference in New Issue
Block a user