aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorParadox <none@none>2009-02-12 09:23:56 -0500
committerParadox <none@none>2009-02-12 09:23:56 -0500
commit260e11bc0196c116ee81598ad3c23eddc2b53a61 (patch)
tree142e1be2e4a9f3a2f6a014e39997ae43a3a892b6 /src/game
parent2bb81747e0322f28318a7f81d14c5fd2097a5981 (diff)
More tabs2spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/ObjectMgr.cpp24
-rw-r--r--src/game/Spell.cpp2
-rw-r--r--src/game/SpellMgr.cpp2
3 files changed, 14 insertions, 14 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 8ba8320b432..c2fdb8a461e 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -7566,35 +7566,35 @@ CreatureInfo const *GetCreatureInfo(uint32 id)
void ObjectMgr::LoadTransportEvents()
{
- QueryResult *result = WorldDatabase.Query("SELECT entry, waypoint_id, event_id FROM transport_events");
+ QueryResult *result = WorldDatabase.Query("SELECT entry, waypoint_id, event_id FROM transport_events");
if( !result )
{
barGoLink bar1( 1 );
bar1.step();
- sLog.outString( "\n>> Transport events table is empty \n" );
+ sLog.outString( "\n>> Transport events table is empty \n" );
return;
}
- barGoLink bar1( result->GetRowCount() );
+ barGoLink bar1( result->GetRowCount() );
do
{
bar1.step();
- Field *fields = result->Fetch();
+ Field *fields = result->Fetch();
- //Load event values
+ //Load event values
uint32 entry = fields[0].GetUInt32();
uint32 waypoint_id = fields[1].GetUInt32();
- uint32 event_id = fields[2].GetUInt32();
+ uint32 event_id = fields[2].GetUInt32();
- uint32 event_count = (entry*100)+waypoint_id;
- TransportEventMap[event_count] = event_id;
- }
- while(result->NextRow());
+ uint32 event_count = (entry*100)+waypoint_id;
+ TransportEventMap[event_count] = event_id;
+ }
+ while(result->NextRow());
- sLog.outString( "\n>> Loaded %u transport events \n", result->GetRowCount() );
+ sLog.outString( "\n>> Loaded %u transport events \n", result->GetRowCount() );
- delete result;
+ delete result;
}
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8b0a7a7a01f..19b7eaab9e5 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2246,7 +2246,7 @@ void Spell::cast(bool skipCheck)
if (IsAffectedBy(auraSpellInfo, auraSpellIdx))
{
if(SpellEntry const *spellInfo = sSpellStore.LookupEntry(auraSpellInfo->EffectTriggerSpell[auraSpellIdx]))
- {
+ {
// Calculate chance at that moment (can be depend for example from combo points)
int32 chance = m_caster->CalculateSpellDamage(auraSpellInfo, auraSpellIdx, (*i)->GetBasePoints(), NULL);
m_ChanceTriggerSpells.push_back(std::make_pair(spellInfo, chance * (*i)->GetStackAmount()));
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 435481de949..5dcfde68512 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2187,7 +2187,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 41635: // Prayer of Mending
case 44869: // Spectral Blast
case 45027: // Revitalize
- case 45976: // Muru Portal Channel
+ case 45976: // Muru Portal Channel
spellInfo->MaxAffectedTargets = 1;
break;
case 41376: // Spite