diff options
author | uruk | 2014-05-08 13:43:02 +0200 |
---|---|---|
committer | uruk | 2014-05-08 13:43:02 +0200 |
commit | 5c8d9241aa119c60313cb9d74c033a690fd57fa0 (patch) | |
tree | 9ac830da1e3eb633b08f10f3d8c758d81f841104 | |
parent | a3b274ba622c67cb597fa9b49b55ff416dc34236 (diff) | |
download | scummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.tar.gz scummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.tar.bz2 scummvm-rg350-5c8d9241aa119c60313cb9d74c033a690fd57fa0.zip |
CGE2: Use nullptrs instead of NULLs.
-rw-r--r-- | engines/cge2/cge2_main.cpp | 12 |
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; |