diff options
Diffstat (limited to 'engines/mohawk/graphics.cpp')
-rw-r--r-- | engines/mohawk/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index ea9b57ae17..fe675235c1 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -30,7 +30,7 @@ namespace Mohawk { -MohawkSurface::MohawkSurface() : _surface(0), _palette(0) { +MohawkSurface::MohawkSurface() : _surface(nullptr), _palette(nullptr) { _offsetX = 0; _offsetY = 0; } @@ -64,7 +64,7 @@ void MohawkSurface::convertToTrueColor() { _surface->free(); delete _surface; free(_palette); - _palette = 0; + _palette = nullptr; _surface = surface; } |