Warning Fixes

Code Style cleanup
Fix linux compile

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-29 23:12:16 +02:00
parent 35af94d4b5
commit cb0cb96283
17 changed files with 44 additions and 38 deletions
+2 -2
View File
@@ -1320,9 +1320,9 @@ class SpellMgr
return false;
return true;
}
uint32 GetSpellDifficultyId(uint32 spellId)
uint32 GetSpellDifficultyId(uint32 spellId)
{
SpellDifficultySearcherMap::const_iterator i = mSpellDifficultySearcherMap.find(spellId);
SpellDifficultySearcherMap::const_iterator i = mSpellDifficultySearcherMap.find(spellId);
return i == mSpellDifficultySearcherMap.end() ? 0 : (*i).second;
}
void SetSpellDifficultyId(uint32 spellId, uint32 id) { mSpellDifficultySearcherMap[spellId] = id; }