aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-05-08 13:43:02 +0200
committeruruk2014-05-08 13:43:02 +0200
commit5c8d9241aa119c60313cb9d74c033a690fd57fa0 (patch)
tree9ac830da1e3eb633b08f10f3d8c758d81f841104 /engines
parenta3b274ba622c67cb597fa9b49b55ff416dc34236 (diff)
downloadscummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.tar.gz
scummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.tar.bz2
scummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.zip
CGE2: Use nullptrs instead of NULLs.
Diffstat (limited to 'engines')
-rw-r--r--engines/cge2/cge2_main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index 40dd98585b..4907dd3cd4 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -69,31 +69,31 @@ void CGE2Engine::loadScript(const char *fname) {
// sprite file name
char *SpN;
- if ((SpN = EncryptedStream::token(NULL)) == NULL)
+ if ((SpN = EncryptedStream::token(nullptr)) == NULL)
break;
// sprite scene
- if ((p = EncryptedStream::token(NULL)) == NULL)
+ if ((p = EncryptedStream::token(nullptr)) == NULL)
break;
int SpA = EncryptedStream::number(p);
// sprite column
- if ((p = EncryptedStream::token(NULL)) == NULL)
+ if ((p = EncryptedStream::token(nullptr)) == NULL)
break;
int SpX = EncryptedStream::number(p);
// sprite row
- if ((p = EncryptedStream::token(NULL)) == NULL)
+ if ((p = EncryptedStream::token(nullptr)) == NULL)
break;
int SpY = EncryptedStream::number(p);
// sprite Z pos
- if ((p = EncryptedStream::token(NULL)) == NULL)
+ if ((p = EncryptedStream::token(nullptr)) == NULL)
break;
int SpZ = EncryptedStream::number(p);
// sprite life
- if ((p = EncryptedStream::token(NULL)) == NULL)
+ if ((p = EncryptedStream::token(nullptr)) == NULL)
break;
bool BkG = EncryptedStream::number(p) == 0;