From 9f641c3d9850a1570872f98bdecbaeb1f39b6be2 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 16 May 2013 07:34:58 +0200 Subject: HOPKINS: Fix shadowed variable not reported by MSVC --- engines/hopkins/lines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/hopkins/lines.cpp b/engines/hopkins/lines.cpp index 14320d5442..6f690a8894 100644 --- a/engines/hopkins/lines.cpp +++ b/engines/hopkins/lines.cpp @@ -945,7 +945,7 @@ int LinesManager::computeRouteIdx(int lineIdx, int dataIdx, int fromX, int fromY if (destX >= minLineX && destX <= maxLineX && destY >= minLineY && destY <= maxLineY) { int curY = destY; int linesIdxUp = -1; - bool loopCond = false; + loopCond = false; for (;;) { --curY; if (loopCond = checkCollisionLine(destX, curY, &foundDataIdx, &foundLineIdx, startLineIdx, endLineIdx)) -- cgit v1.2.3