mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Default initialize i_path instead of using NULL
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user