aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/lines.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/lines.cpp')
-rw-r--r--engines/hopkins/lines.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/lines.cpp b/engines/hopkins/lines.cpp
index 3fe72d83b0..08482607c9 100644
--- a/engines/hopkins/lines.cpp
+++ b/engines/hopkins/lines.cpp
@@ -252,7 +252,7 @@ void LinesManager::addZoneLine(int idx, int fromX, int fromY, int destX, int des
* Add Line
*/
void LinesManager::addLine(int lineIdx, Directions direction, int fromX, int fromY, int destX, int destY) {
- assert (lineIdx <= MAX_LINES);
+ assert (lineIdx < MAX_LINES);
if (_linesNumb < lineIdx)
_linesNumb = lineIdx;