Core: Fixed some level 4 warnings (msvc)

This commit is contained in:
Shauren committed 2012-12-31 20:43:14 +01:00
1 parent b229f72bf4
commit f1170ba0fb
26 files changed
+177 -167

No files matched your search

+2 -2
View File
@@ -17068,8 +17068,8 @@ bool Unit::HandleSpellClick(Unit* clicker, int8 seatId)
else // This can happen during Player::_LoadAuras
{
int32 bp0[MAX_SPELL_EFFECTS];
for (uint32 i = 0; i < MAX_SPELL_EFFECTS; ++i)
bp0[i] = spellEntry->Effects[i].BasePoints;
for (uint32 j = 0; j < MAX_SPELL_EFFECTS; ++j)
bp0[j] = spellEntry->Effects[j].BasePoints;
bp0[i] = seatId;
Aura::TryRefreshStackOrCreate(spellEntry, MAX_EFFECT_MASK, this, clicker, bp0, NULL, origCasterGUID);