Core: Corrected NULL usage, it should only be used with pointers, not integers

This commit is contained in:
Shauren
2011-04-23 15:53:48 +02:00
parent a2a751b9d6
commit 8898db8b27
56 changed files with 216 additions and 217 deletions
@@ -158,7 +158,7 @@ class boss_kelidan_the_breaker : public CreatureScript
uint64 GetChanneled(Creature *channeler1)
{
SummonChannelers();
if (!channeler1) return NULL;
if (!channeler1) return 0;
uint8 i;
for (i=0; i<5; ++i)
{