refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr * NULL to nullptr * NULL to nullptr * NULL to nullptr * NULL to nullptr Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com> Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
parent
38903b5dfb
commit
1f89282b22
325 changed files with 2348 additions and 2348 deletions
|
|
@ -268,7 +268,7 @@ bool EquippedOk(Player* player, uint32 spellId)
|
|||
if (!reqSpell)
|
||||
continue;
|
||||
|
||||
Item* item = NULL;
|
||||
Item* item = nullptr;
|
||||
for (uint8 j = EQUIPMENT_SLOT_START; j < EQUIPMENT_SLOT_END; ++j)
|
||||
{
|
||||
item = player->GetItemByPos(INVENTORY_SLOT_BAG_0, j);
|
||||
|
|
@ -416,7 +416,7 @@ void ProcessUnlearnAction(Player* player, Creature* creature, uint32 spellId, ui
|
|||
player->SendBuyError(BUY_ERR_NOT_ENOUGHT_MONEY, creature, 0, 0);
|
||||
}
|
||||
else
|
||||
player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, NULL, NULL);
|
||||
player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, NULL, nullptr);
|
||||
CloseGossipMenuFor(player);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue