diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 16:28:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 16:29:31 +0300 |
commit | 2b8e0b02338400b215b73cec900ffa1fddbac60a (patch) | |
tree | 0920d2980bf60aeeb5b9a44140f4537353ced0d9 /src/resources/map/maplayer.cpp | |
parent | dc8422dbac2c45a082153240138d699c1bfc3b88 (diff) | |
download | manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.gz manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.bz2 manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.xz manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.zip |
Move user defined colors enum into separate file.
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r-- | src/resources/map/maplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } } |