diff options
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]); +} |