Core: Corrected NULL usage, it should only be used with pointers, not integers
This commit is contained in:
@@ -1293,8 +1293,8 @@ void Pet::_SaveAuras(SQLTransaction& trans)
|
||||
}
|
||||
else
|
||||
{
|
||||
baseDamage[i] = NULL;
|
||||
damage[i] = NULL;
|
||||
baseDamage[i] = 0;
|
||||
damage[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user