summaryrefslogtreecommitdiff
path: root/src/resources/item/cardslist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/item/cardslist.h')
-rw-r--r--src/resources/item/cardslist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/item/cardslist.h b/src/resources/item/cardslist.h
index f4c488404..6bc1f5e22 100644
--- a/src/resources/item/cardslist.h
+++ b/src/resources/item/cardslist.h
@@ -42,7 +42,7 @@ struct CardsList final
explicit CardsList(const int *const cards0)
{
- if (cards0)
+ if (cards0 != nullptr)
{
for (int f = 0; f < maxCards; f ++)
cards[f] = cards0[f];