From 31e08b923cd120e0428a5b78eec0dd4d63e3c13d Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sun, 21 Apr 2013 00:23:45 +0200 Subject: HOPKINS: MAX_LINES cleanup --- engines/hopkins/lines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hopkins/lines.cpp') 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; -- cgit v1.2.3