[Add] Missing scNew in Pathfinding.h

This commit is contained in:
Tamir Atias 2012-06-11 00:44:34 +03:00
parent 30dfb9dba0
commit cb4774bd1f

View File

@ -7,6 +7,8 @@
#include <vector> #include <vector>
using namespace std; using namespace std;
#include "../Engine/MemManager.h"
// Disable warning that debugging information has lines that are truncated. // Disable warning that debugging information has lines that are truncated.
#ifdef WIN32 #ifdef WIN32
#pragma warning(disable : 4786) #pragma warning(disable : 4786)
@ -468,7 +470,7 @@ private:
} }
Node* AllocateNode(UserState& userState) { Node* AllocateNode(UserState& userState) {
Node *p = new Node(userState); Node *p = scNew(Node,(userState));
return p; return p;
} }