aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-11 20:20:38 +0200
committerSpp <none@none>2010-04-11 20:20:38 +0200
commit65c3e979e2eed9e2485caf65b487dbd2219c0592 (patch)
tree5ecb0c945d99401d87fcfe116dfbc369328c4829 /src/game/SpellMgr.h
parentc592fc75809e420eb3554b12c31eb645a8aae280 (diff)
Tab to Spaces and remove of trailing spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.h')
-rw-r--r--src/game/SpellMgr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h
index cd796636be5..79d629d6ea6 100644
--- a/src/game/SpellMgr.h
+++ b/src/game/SpellMgr.h
@@ -290,8 +290,8 @@ inline bool IsExplicitDiscoverySpell(SpellEntry const *spellInfo)
inline bool IsLootCraftingSpell(SpellEntry const *spellInfo)
{
return (spellInfo->Effect[0] == SPELL_EFFECT_CREATE_RANDOM_ITEM ||
- // different random cards from Inscription (121==Virtuoso Inking Set category) r without explicit item
- (spellInfo->Effect[0] == SPELL_EFFECT_CREATE_ITEM_2 &&
+ // different random cards from Inscription (121==Virtuoso Inking Set category) r without explicit item
+ (spellInfo->Effect[0] == SPELL_EFFECT_CREATE_ITEM_2 &&
(spellInfo->TotemCategory[0] != 0 || spellInfo->EffectItemType[0]==0)));
}
@@ -792,8 +792,8 @@ typedef std::pair<SpellsRequiringSpellMap::const_iterator,SpellsRequiringSpellMa
// Spell learning properties (accessed using SpellMgr functions)
struct SpellLearnSkillNode
{
- uint16 skill;
- uint16 step;
+ uint16 skill;
+ uint16 step;
uint16 value; // 0 - max skill value for player level
uint16 maxvalue; // 0 - max skill value for player level
};
@@ -1056,7 +1056,7 @@ class SpellMgr
if (!newSpell)
{
sLog.outDebug("GetSpellForDifficultyFromSpell: spell %u not found in spell, this should never happen.", newSpell->Id);//alerady checked at startup
- return spell;
+ return spell;
}
sLog.outDebug("GetSpellForDifficultyFromSpell: spellid for spell %u in mode %u is %u ", spell->Id, mode, newSpell->Id);
return newSpell;