[Add] Missing scNew in Pathfinding.h
This commit is contained in:
parent
30dfb9dba0
commit
cb4774bd1f
@ -7,6 +7,8 @@
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
#include "../Engine/MemManager.h"
|
||||
|
||||
// Disable warning that debugging information has lines that are truncated.
|
||||
#ifdef WIN32
|
||||
#pragma warning(disable : 4786)
|
||||
@ -468,7 +470,7 @@ private:
|
||||
}
|
||||
|
||||
Node* AllocateNode(UserState& userState) {
|
||||
Node *p = new Node(userState);
|
||||
Node *p = scNew(Node,(userState));
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user