summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index 0f231535..982ea9fb 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -30,8 +30,8 @@
#include <SDL.h>
CompoundSprite::CompoundSprite():
- mImage(NULL),
- mAlphaImage(NULL),
+ mImage(nullptr),
+ mAlphaImage(nullptr),
mWidth(0),
mHeight(0),
mOffsetX(0),
@@ -187,7 +187,7 @@ void CompoundSprite::removeSprite(int layer)
return;
delete mSprites.at(layer);
- mSprites.at(layer) = NULL;
+ mSprites.at(layer) = nullptr;
mNeedsRedraw = true;
}