Refactor out forecolor

This commit is contained in:
elasota
2020-05-21 03:30:11 -04:00
parent a1c45d4fc8
commit 438e7b2138
44 changed files with 924 additions and 967 deletions

View File

@@ -11,8 +11,10 @@
#include "MainWindow.h"
#include "Objects.h"
#include "PLHacks.h"
#include "PLStandardColors.h"
#include "RectUtils.h"
#include "Room.h"
#include "ResolveCachingColor.h"
#define kShoveVelocity 8
@@ -578,7 +580,8 @@ void HandleOutlet (short who)
}
else
{
workSrcMap->FillRect(dinahs[who].dest);
PortabilityLayer::ResolveCachingColor blackColor = StdColors::Black();
workSrcMap->FillRect(dinahs[who].dest, blackColor);
}
AddRectToWorkRects(&dinahs[who].dest);
}