aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/moonbase/ai_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he/moonbase/ai_tree.cpp')
-rw-r--r--engines/scumm/he/moonbase/ai_tree.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/scumm/he/moonbase/ai_tree.cpp b/engines/scumm/he/moonbase/ai_tree.cpp
index 2335d567e9..efbf3e3a99 100644
--- a/engines/scumm/he/moonbase/ai_tree.cpp
+++ b/engines/scumm/he/moonbase/ai_tree.cpp
@@ -80,7 +80,7 @@ Tree::~Tree() {
while (pNodeItr != NULL) {
// If any children are left, move to one of them
if (!(pNodeItr->getChildren().empty())) {
- int size = (pNodeItr->getChildren()).size();
+ //int size = (pNodeItr->getChildren()).size();
pNodeItr = pNodeItr->popChild();
} else {
// Delete this node, and move up to the parent for further processing
@@ -157,11 +157,10 @@ Node *Tree::aStarSearch_singlePassInit() {
Node *Tree::aStarSearch_singlePass(Node **currentNode) {
currentNode = NULL;
- float currentT;
-
Node *retNode = NULL;
#if 0
+ float currentT;
static int maxTime = 0;
if (currentChildIndex == 1) {