From 2b8e0b02338400b215b73cec900ffa1fddbac60a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 16:28:38 +0300 Subject: Move user defined colors enum into separate file. --- src/resources/map/maplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/map/maplayer.cpp') diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp index 9b73046bd..d7aaa8e72 100644 --- a/src/resources/map/maplayer.cpp +++ b/src/resources/map/maplayer.cpp @@ -626,10 +626,10 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY, if (userPalette) { graphics->setColor(userPalette->getColorWithAlpha( - UserPalette::ATTACK_RANGE)); + UserColorId::ATTACK_RANGE)); graphics->fillRectangle(Rect(x, y, w, h)); graphics->setColor(userPalette->getColorWithAlpha( - UserPalette::ATTACK_RANGE_BORDER)); + UserColorId::ATTACK_RANGE_BORDER)); graphics->drawRectangle(Rect(x, y, w, h)); } } -- cgit v1.2.3-60-g2f50