diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/base_star.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/titanic/star_control/base_star.cpp b/engines/titanic/star_control/base_star.cpp index cfadedd8e7..c9ea3eb51f 100644 --- a/engines/titanic/star_control/base_star.cpp +++ b/engines/titanic/star_control/base_star.cpp @@ -419,14 +419,14 @@ void CBaseStar::draw3(CSurfaceArea *surfaceArea, CStarControlSub12 *sub12, CStar switch (entry._thickness) { case 0: - *pixelP = rgb; + *pixelP |= rgb; break; case 1: - *pixelP = rgb; - *(pixelP + 1) = rgb; - *(pixelP + surfaceArea->_pitch / 2) = rgb; - *(pixelP + surfaceArea->_pitch / 2 + 1) = rgb; + *pixelP |= rgb; + *(pixelP + 1) |= rgb; + *(pixelP + surfaceArea->_pitch / 2) |= rgb; + *(pixelP + surfaceArea->_pitch / 2 + 1) |= rgb; break; default: @@ -526,14 +526,14 @@ void CBaseStar::draw4(CSurfaceArea *surfaceArea, CStarControlSub12 *sub12, CStar switch (entry._thickness) { case 0: - *pixelP = rgb; + *pixelP |= rgb; break; case 1: - *pixelP = rgb; - *(pixelP + 1) = rgb; - *(pixelP + surfaceArea->_pitch / 2) = rgb; - *(pixelP + surfaceArea->_pitch / 2 + 1) = rgb; + *pixelP |= rgb; + *(pixelP + 1) |= rgb; + *(pixelP + surfaceArea->_pitch / 2) |= rgb; + *(pixelP + surfaceArea->_pitch / 2 + 1) |= rgb; break; default: |