Skip to content
Permalink
Browse files

TITANIC: Compilation fix for openpandora

  • Loading branch information
dreammaster committed Mar 26, 2017
1 parent 56cc97c commit 96b31ca5eb82af59f0032ecae7277fa36fb8eedf
Showing with 3 additions and 3 deletions.
  1. +3 −3 engines/titanic/star_control/base_star.cpp
@@ -200,9 +200,9 @@ void CBaseStar::draw1(CSurfaceArea *surfaceArea, CStarControlSub12 *sub12, CStar

double sVal = sqrt(total2);
sVal = (sVal < 100000.0) ? 1.0 : 1.0 - ((sVal - 100000.0) / 1.0e9);
double red = MIN((double)entry._red * sVal, 255.0);
double green = MIN((double)entry._green * sVal, 255.0);
double blue = MIN((double)entry._green * sVal, 255.0);
double red = MIN((double)entry._red * sVal, (double)255.0);
double green = MIN((double)entry._green * sVal, (double)255.0);
double blue = MIN((double)entry._green * sVal, (double)255.0);

int minusCount = 0;
if (red < 0.0) {

0 comments on commit 96b31ca

Please sign in to comment.
You can’t perform that action at this time.