From 9b21dfaeb0183d6e7813480d04e371827b1a073d Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 2 Oct 2010 19:29:00 +0000 Subject: (svn r20874) -Codechange: Make init_AyStar a method. --- src/pathfinder/npf/npf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pathfinder/npf/npf.cpp') diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp index 2cad61e65..04213b405 100644 --- a/src/pathfinder/npf/npf.cpp +++ b/src/pathfinder/npf/npf.cpp @@ -1081,7 +1081,7 @@ void InitializeNPF() static bool first_init = true; if (first_init) { first_init = false; - init_AyStar(&_npf_aystar, NPFHash, NPF_HASH_SIZE); + _npf_aystar.Init(NPFHash, NPF_HASH_SIZE); } else { _npf_aystar.Clear(); } -- cgit v1.2.3-54-g00ecf