aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/startrek/intro.cpp4
-rw-r--r--engines/startrek/space.cpp4
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
}
}