summaryrefslogtreecommitdiff
path: root/src/itemcolormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemcolormanager.cpp')
-rw-r--r--src/itemcolormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itemcolormanager.cpp b/src/itemcolormanager.cpp
index b9bdfe815..c5a75239b 100644
--- a/src/itemcolormanager.cpp
+++ b/src/itemcolormanager.cpp
@@ -30,7 +30,7 @@
ItemColor ItemColorManager::getColorFromCards(const int *const cards)
{
- if (!cards)
+ if (cards == nullptr)
return ItemColor_one;
if (cards[0] == CARD0_FORGE ||
cards[0] == CARD0_CREATE ||