diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-19 23:04:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-20 01:48:03 +0300 |
commit | 9dfde677430ab0dc1c11807b2b0d9f76bab353bb (patch) | |
tree | 92907f9c9467cf798c2b6fa392df9eefaebf4898 /src/itemcolormanager.cpp | |
parent | 8462b9ae346a41a37b2790c3ea5f14f0e783ab71 (diff) | |
download | manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.gz manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.bz2 manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.tar.xz manaplus-9dfde677430ab0dc1c11807b2b0d9f76bab353bb.zip |
Add support for stored cards with sprites in Being.
Diffstat (limited to 'src/itemcolormanager.cpp')
-rw-r--r-- | src/itemcolormanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/itemcolormanager.cpp b/src/itemcolormanager.cpp index 0cf48015b..dc8d65afb 100644 --- a/src/itemcolormanager.cpp +++ b/src/itemcolormanager.cpp @@ -50,3 +50,8 @@ ItemColor ItemColorManager::getColorFromCards(const int *const cards) } return ItemColor_one; } + +ItemColor ItemColorManager::getColorFromCards(const CardsList &cards) +{ + return getColorFromCards(&cards.cards[0]); +} |