mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
refactor(Core): replace NULL with nullptr (#4593)
This commit is contained in:
@@ -134,7 +134,7 @@ public:
|
||||
template<class T> static T* GetObjectInMap(uint64 guid, Map* map, T* /*typeSpecifier*/)
|
||||
{
|
||||
ASSERT(map);
|
||||
if (T* obj = GetObjectInWorld(guid, (T*)NULL))
|
||||
if (T* obj = GetObjectInWorld(guid, (T*)nullptr))
|
||||
if (obj->GetMap() == map)
|
||||
return obj;
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user