mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Refactor out forecolor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user