aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorMax Horn2010-11-28 21:33:27 +0000
committerMax Horn2010-11-28 21:33:27 +0000
commitb3ba5f6ec5be54d0f40c3b2933e26053ef625a28 (patch)
treeeabaa1a72d3da24b6638dae62946acbcf2f75c24 /engines/sword25
parent5d2b77899f83160ec969aeab6b266a6c63d27f11 (diff)
downloadscummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.tar.gz
scummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.tar.bz2
scummvm-rg350-b3ba5f6ec5be54d0f40c3b2933e26053ef625a28.zip
SWORD25: Fix warning about uninitialized DijkstraNode::parentIter
svn-id: r54551
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/math/walkregion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/math/walkregion.cpp b/engines/sword25/math/walkregion.cpp
index 51818bc9e8..da24883466 100644
--- a/engines/sword25/math/walkregion.cpp
+++ b/engines/sword25/math/walkregion.cpp
@@ -95,7 +95,7 @@ struct DijkstraNode {
typedef Container::iterator Iter;
typedef Container::const_iterator ConstIter;
- DijkstraNode() : cost(Infinity), chosen(false) {}
+ DijkstraNode() : parentIter(), cost(Infinity), chosen(false) {}
ConstIter parentIter;
int cost;
bool chosen;