diff options
-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; |