aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-07-23 09:29:24 +0200
committeruruk2014-07-23 09:29:24 +0200
commit2f5e115e9a3b1a8cde9f17dade63b2ce1d0fa52d (patch)
tree243f6c6dc87fb5cb8a1c7631aeb58f67b286a8d6
parent93b8f101c363e4e0b8bd8e27b504e8b037ae0aa3 (diff)
downloadscummvm-rg350-2f5e115e9a3b1a8cde9f17dade63b2ce1d0fa52d.tar.gz
scummvm-rg350-2f5e115e9a3b1a8cde9f17dade63b2ce1d0fa52d.tar.bz2
scummvm-rg350-2f5e115e9a3b1a8cde9f17dade63b2ce1d0fa52d.zip
CGE2: Use nullptr instead of NULL in switchColorMode().
-rw-r--r--engines/cge2/cge2_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index f5587e1e8a..00b3adda38 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -1098,7 +1098,7 @@ void CGE2Engine::optionTouch(int opt, uint16 mask) {
}
void CGE2Engine::switchColorMode() {
- _commandHandlerTurbo->addCommand(kCmdSeq, 121, _vga->_mono = !_vga->_mono, NULL);
+ _commandHandlerTurbo->addCommand(kCmdSeq, 121, _vga->_mono = !_vga->_mono, nullptr);
keyClick();
_vga->setColors(_vga->_sysPal, 64);
}