Replace usage of NULL with nullptr.

This commit is contained in:
ratkosrb
2019-11-12 19:53:42 +02:00
parent 75ceb57d8c
commit 4afe949345
294 changed files with 1729 additions and 1729 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ bool IsEnabledOnMap<Creature>(Map* map, uint32 guid)
template <class T>
void LoadHelper(CellGuidSet const& guid_set, CellPair &cell, GridRefManager<T> &m, uint32 &count, Map* map, GridType& grid)
{
BattleGround* bg = map->IsBattleGround() ? ((BattleGroundMap*)map)->GetBG() : NULL;
BattleGround* bg = map->IsBattleGround() ? ((BattleGroundMap*)map)->GetBG() : nullptr;
for (CellGuidSet::const_iterator i_guid = guid_set.begin(); i_guid != guid_set.end(); ++i_guid)
{