summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-02 10:47:18 +0000
committerrubidium <rubidium@openttd.org>2009-12-02 10:47:18 +0000
commitf67c265c6f5c88d5f9d18a831da5b65329169712 (patch)
tree72a7e2a78c9c3d945fba4b4846dc834dd6e9e456 /src/pathfinder/npf
parentc10e95314156cfaf856a3075118b1bd2c698d139 (diff)
downloadopenttd-f67c265c6f5c88d5f9d18a831da5b65329169712.tar.xz
(svn r18374) -Cleanup: remove some unused code
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r--src/pathfinder/npf/aystar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/npf/aystar.cpp b/src/pathfinder/npf/aystar.cpp
index 8c0a65706..55a0262f1 100644
--- a/src/pathfinder/npf/aystar.cpp
+++ b/src/pathfinder/npf/aystar.cpp
@@ -29,8 +29,8 @@
#include "../../core/alloc_func.hpp"
#include "aystar.h"
-int _aystar_stats_open_size;
-int _aystar_stats_closed_size;
+static int _aystar_stats_open_size;
+static int _aystar_stats_closed_size;
/* This looks in the Hash if a node exists in ClosedList
* If so, it returns the PathNode, else NULL */