(svn r20874) -Codechange: Make init_AyStar a method.

This commit is contained in:
alberth
2010-10-02 19:29:00 +00:00
parent a8af2c97c1
commit 9b21dfaeb0
3 changed files with 12 additions and 12 deletions

View File

@@ -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();
}