aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-05-16 07:34:58 +0200
committerStrangerke2013-05-16 07:34:58 +0200
commit9f641c3d9850a1570872f98bdecbaeb1f39b6be2 (patch)
treecdb3179c60b2ea84996b7a7dccf07345dbe766dc /engines
parent90084cfdce0b64b0631cd5428c4c6fc97eb99090 (diff)
downloadscummvm-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.cpp2
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))