From be540664c39fc0cf78b792efbb4370e9a78b741e Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Wed, 17 Oct 2018 11:58:39 +0200 Subject: [PATCH] Core/Maps: remove a NULL macro from MapTree --- src/common/Collision/Maps/MapTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Collision/Maps/MapTree.cpp b/src/common/Collision/Maps/MapTree.cpp index 4740f9ddb3e..5b037dafe00 100644 --- a/src/common/Collision/Maps/MapTree.cpp +++ b/src/common/Collision/Maps/MapTree.cpp @@ -121,7 +121,7 @@ namespace VMAP } StaticMapTree::StaticMapTree(uint32 mapID, const std::string &basePath) - : iMapID(mapID), iTreeValues(NULL), iNTreeValues(0), iBasePath(basePath) + : iMapID(mapID), iTreeValues(nullptr), iNTreeValues(0), iBasePath(basePath) { if (iBasePath.length() > 0 && iBasePath[iBasePath.length()-1] != '/' && iBasePath[iBasePath.length()-1] != '\\') {