HOPKINS: Fix shadowed variable not reported by MSVC

This commit is contained in:
Strangerke 2013-05-16 07:34:58 +02:00
parent 90084cfdce
commit 9f641c3d98

View File

@ -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))