summaryrefslogtreecommitdiff
path: root/src/resources/loaders/spritedefloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/spritedefloader.cpp')
-rw-r--r--src/resources/loaders/spritedefloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/spritedefloader.cpp b/src/resources/loaders/spritedefloader.cpp
index 69f182b89..2e91d759b 100644
--- a/src/resources/loaders/spritedefloader.cpp
+++ b/src/resources/loaders/spritedefloader.cpp
@@ -42,7 +42,7 @@ namespace
const int variant;
static Resource *load(const void *const v)
{
- if (!v)
+ if (v == nullptr)
return nullptr;
const SpriteDefLoader *const