Default initialize i_path instead of using NULL

This commit is contained in:
Shauren
2015-09-12 21:21:03 +02:00
parent 2056961aae
commit 2923dd5bad

View File

@@ -37,7 +37,7 @@ template<class T, class P>
class PathMovementBase
{
public:
PathMovementBase() : i_path(NULL), i_currentNode(0) { }
PathMovementBase() : i_path(), i_currentNode(0) { }
virtual ~PathMovementBase() { };
uint32 GetCurrentNode() const { return i_currentNode; }