diff options
Diffstat (limited to 'src/listeners/buyingstoreslotslistener.cpp')
-rw-r--r-- | src/listeners/buyingstoreslotslistener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/buyingstoreslotslistener.cpp b/src/listeners/buyingstoreslotslistener.cpp index 6155b97fd..e62ee1d4a 100644 --- a/src/listeners/buyingstoreslotslistener.cpp +++ b/src/listeners/buyingstoreslotslistener.cpp @@ -30,7 +30,7 @@ void BuyingStoreSlotsListener::distributeEvent(const int slots) it, mListeners) { BuyingStoreSlotsListener *const listener = *it; - if (listener) + if (listener != nullptr) listener->buyingStoreSlotsChanged(slots); } } |