diff options
author | D G Turner | 2018-08-09 10:18:46 +0100 |
---|---|---|
committer | D G Turner | 2018-08-09 10:18:46 +0100 |
commit | d4f0392e575c0e8ef2c752a9a0892749f059ad1a (patch) | |
tree | 0bb5e4e15c733e16df04205bd9103446c368259a | |
parent | 85cd34750395475701cad009d221646744eb2f16 (diff) | |
download | scummvm-rg350-d4f0392e575c0e8ef2c752a9a0892749f059ad1a.tar.gz scummvm-rg350-d4f0392e575c0e8ef2c752a9a0892749f059ad1a.tar.bz2 scummvm-rg350-d4f0392e575c0e8ef2c752a9a0892749f059ad1a.zip |
STARTREK: Compilation Fixes for Various Platforms.
-rw-r--r-- | engines/startrek/intro.cpp | 4 | ||||
-rw-r--r-- | engines/startrek/space.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/startrek/intro.cpp b/engines/startrek/intro.cpp index 08cd08a71c..7ba865a378 100644 --- a/engines/startrek/intro.cpp +++ b/engines/startrek/intro.cpp @@ -39,8 +39,8 @@ void StarTrekEngine::playIntro() { R3 planetR3 = R3(); planetR3.matrix = initMatrix(); planetR3.field1e = 3; - planetR3.funcPtr1 = NULL; - planetR3.funcPtr2 = NULL; + planetR3.funcPtr1 = 0; + planetR3.funcPtr2 = 0; planetR3.bitmapOffset = 0; _gfx->clearScreenAndPriBuffer(); diff --git a/engines/startrek/space.cpp b/engines/startrek/space.cpp index 0286408ca7..60c37c89db 100644 --- a/engines/startrek/space.cpp +++ b/engines/startrek/space.cpp @@ -228,7 +228,7 @@ void StarTrekEngine::drawR3Shape(R3 *r3) { if (r3->field1e != 3) // TODO: remove this return; - if (r3->funcPtr1 != NULL) { + if (r3->funcPtr1 != 0) { // TODO: call it } @@ -485,7 +485,7 @@ void StarTrekEngine::drawR3Shape(R3 *r3) { } } - if (r3->funcPtr2 != NULL) { + if (r3->funcPtr2 != 0) { // TODO: call it } } |