aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/graphics.cpp
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2018-03-23 02:22:10 +0100
committerThierry Crozat2018-04-15 18:23:11 +0100
commit6187e251994270400b9e3b509871a9ab177bbc73 (patch)
treede49c2a99c9e5e30a80beb90a42e672752ac569b /engines/supernova/graphics.cpp
parentd963827dbb4282a7b39efca390bbc2fb58d4eee5 (diff)
downloadscummvm-rg350-6187e251994270400b9e3b509871a9ab177bbc73.tar.gz
scummvm-rg350-6187e251994270400b9e3b509871a9ab177bbc73.tar.bz2
scummvm-rg350-6187e251994270400b9e3b509871a9ab177bbc73.zip
SUPERNOVA: Renames NULL to nullptr
Diffstat (limited to 'engines/supernova/graphics.cpp')
-rw-r--r--engines/supernova/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/supernova/graphics.cpp b/engines/supernova/graphics.cpp
index e27c7c9d8f..5dc165e8ec 100644
--- a/engines/supernova/graphics.cpp
+++ b/engines/supernova/graphics.cpp
@@ -241,11 +241,11 @@ bool MSNImage::loadSections() {
void MSNImage::destroy() {
if (_palette) {
delete[] _palette;
- _palette = NULL;
+ _palette = nullptr;
}
if (_encodedImage) {
delete[] _encodedImage;
- _encodedImage = NULL;
+ _encodedImage = nullptr;
}
for (Common::Array<Graphics::Surface *>::iterator it = _sectionSurfaces.begin();
it != _sectionSurfaces.end(); ++it) {