Permalink
Browse files

More warnings

  • Loading branch information...
1 parent fff82eb commit 9f0a30911de0a56be376bdd8a55b02b522aba568 @Keital Keital committed Dec 6, 2016
@@ -264,7 +264,7 @@ class npc_stormwind_injured_soldier : public CreatureScript
break;
}
me->HandleEmoteCommand(EMOTE_ONESHOT_CHEER);
- owner->KilledMonsterCredit(me->GetEntry(), NULL);
+ owner->KilledMonsterCredit(me->GetEntry(), 0);
events.ScheduleEvent(EVENT_HEALED_2, 2500);
}
break;
@@ -573,7 +573,7 @@ class npc_hogger : public CreatureScript
me->VisitNearbyWorldObject(35.0f, searcher);
for (std::list<Player*>::const_iterator itr = players.begin(); itr != players.end(); ++itr)
- (*itr)->KilledMonsterCredit(448, NULL);
+ (*itr)->KilledMonsterCredit(448, 0);
phase = 0;
} break;
@@ -150,7 +150,7 @@ Position pos[3] =
void AddRage(Creature* me,uint32 p_BaseValue, uint64 nazgrimGuid)
{
- if (nazgrimGuid == NULL)
+ if (nazgrimGuid == 0)
return;
if (Creature* generalNazgrim = sObjectAccessor->GetCreature(*me, nazgrimGuid))
@@ -163,7 +163,7 @@ void AddRage(Creature* me,uint32 p_BaseValue, uint64 nazgrimGuid)
void RemoveRage(Creature* me, uint32 p_BaseValue, uint64 nazgrimGuid)
{
- if (nazgrimGuid == NULL)
+ if (nazgrimGuid == 0)
return;
if (Creature* generalNazgrim = sObjectAccessor->GetCreature(*me, nazgrimGuid))

0 comments on commit 9f0a309

Please sign in to comment.