diff options
author | Paul Gilbert | 2017-05-30 20:06:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-05-30 20:06:03 -0400 |
commit | ede1965e65e51c4124ca3a683a5c66eeef284ff6 (patch) | |
tree | b1d597deba6b6830972b1bff34a1e1f4d56df233 /engines/titanic/star_control | |
parent | 56474edca06e386948c7288d4f2a23cbf40f2767 (diff) | |
download | scummvm-rg350-ede1965e65e51c4124ca3a683a5c66eeef284ff6.tar.gz scummvm-rg350-ede1965e65e51c4124ca3a683a5c66eeef284ff6.tar.bz2 scummvm-rg350-ede1965e65e51c4124ca3a683a5c66eeef284ff6.zip |
TITANIC: Fix drawing crosshairs in the main starfield
Diffstat (limited to 'engines/titanic/star_control')
-rw-r--r-- | engines/titanic/star_control/star_crosshairs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/star_crosshairs.cpp b/engines/titanic/star_control/star_crosshairs.cpp index 4c8a1c8c69..7227a18d03 100644 --- a/engines/titanic/star_control/star_crosshairs.cpp +++ b/engines/titanic/star_control/star_crosshairs.cpp @@ -163,7 +163,7 @@ void CStarCrosshairs::draw(CSurfaceArea *surfaceArea) { surfaceArea->setColorFromPixel(); SurfaceAreaMode savedMode = surfaceArea->setMode(SA_SOLID); - for (int idx = 0; idx < _entryIndex; ++idx) { + for (int idx = 0; idx <= _entryIndex; ++idx) { const CStarPosition &src = _entries[idx]; double xp = src.x, yp = src.y; |