Core: Corrected NULL usage, it should only be used with pointers, not integers
This commit is contained in:
@@ -1371,7 +1371,7 @@ class SpellMgr
|
||||
SpellRequiredMap::const_iterator itr = mSpellReq.find(spell_id);
|
||||
|
||||
if (itr == mSpellReq.end())
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return itr->second;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user