Permalink
Browse files

STARTREK: Compilation Fixes for Various Platforms.

  • Loading branch information...
digitall committed Aug 9, 2018
1 parent 85cd347 commit d4f0392e575c0e8ef2c752a9a0892749f059ad1a
Showing with 4 additions and 4 deletions.
  1. +2 −2 engines/startrek/intro.cpp
  2. +2 −2 engines/startrek/space.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();
@@ -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
}
}

0 comments on commit d4f0392

Please sign in to comment.