[11928] Some warning fixes

This commit is contained in:
zergtmn 2012-02-16 20:31:48 +06:00
parent 7c827733f5
commit c6a751134c
18 changed files with 28 additions and 38 deletions

View file

@ -951,7 +951,7 @@ bool Pet::InitStatsForLevel(uint32 petlevel, Unit* owner)
int32 createResistance[MAX_SPELL_SCHOOL] = {0,0,0,0,0,0,0};
if(cinfo && getPetType() != HUNTER_PET)
if(getPetType() != HUNTER_PET)
{
createResistance[SPELL_SCHOOL_HOLY] = cinfo->resistance1;
createResistance[SPELL_SCHOOL_FIRE] = cinfo->resistance2;