diff options
Diffstat (limited to 'src/resources/animation.cpp')
-rw-r--r-- | src/resources/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation.cpp b/src/resources/animation.cpp index e4837e44..8ab7cc44 100644 --- a/src/resources/animation.cpp +++ b/src/resources/animation.cpp @@ -37,10 +37,10 @@ void Animation::addFrame(Image *image, int delay, int offsetX, int offsetY) void Animation::addTerminator() { - addFrame(NULL, 0, 0, 0); + addFrame(nullptr, 0, 0, 0); } bool Animation::isTerminator(const Frame &candidate) { - return (candidate.image == NULL); + return (candidate.image == nullptr); } |