diff options
author | Strangerke | 2013-05-16 07:34:58 +0200 |
---|---|---|
committer | Strangerke | 2013-05-16 07:34:58 +0200 |
commit | 9f641c3d9850a1570872f98bdecbaeb1f39b6be2 (patch) | |
tree | cdb3179c60b2ea84996b7a7dccf07345dbe766dc /engines | |
parent | 90084cfdce0b64b0631cd5428c4c6fc97eb99090 (diff) | |
download | scummvm-rg350-9f641c3d9850a1570872f98bdecbaeb1f39b6be2.tar.gz scummvm-rg350-9f641c3d9850a1570872f98bdecbaeb1f39b6be2.tar.bz2 scummvm-rg350-9f641c3d9850a1570872f98bdecbaeb1f39b6be2.zip |
HOPKINS: Fix shadowed variable not reported by MSVC
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/lines.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |