From ae61c1eec0a4d6e543be5d482dfda5f0f951fcb5 Mon Sep 17 00:00:00 2001 From: Gendalph Date: Wed, 29 Jul 2009 18:32:52 +0400 Subject: [PATCH] [8277] Add new line at the end of some .cpp to make gcc happy Signed-off-by: VladimirMangos --- src/game/AchievementMgr.cpp | 2 +- src/game/Chat.cpp | 2 +- src/game/GameEventMgr.cpp | 2 +- src/game/Guild.cpp | 2 +- src/game/Item.cpp | 2 +- src/game/PetAI.cpp | 2 +- src/game/ReputationMgr.cpp | 2 +- src/game/Spell.cpp | 2 +- src/game/Totem.cpp | 2 +- src/shared/revision_nr.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/game/AchievementMgr.cpp b/src/game/AchievementMgr.cpp index 212b8d79a..304969205 100644 --- a/src/game/AchievementMgr.cpp +++ b/src/game/AchievementMgr.cpp @@ -235,7 +235,7 @@ bool AchievementCriteriaData::IsValid(AchievementCriteriaEntry const* criteria) } return true; case ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE: - return true; // not check correctness node indexes + return true; // not check correctness node indexes default: sLog.outErrorDb( "Table `achievement_criteria_data` (Entry: %u Type: %u) have data for not supported data type (%u), ignore.", criteria->ID, criteria->requiredType,dataType); return false; diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 16484d272..8f7d8027a 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -1644,4 +1644,4 @@ LocaleConstant CliHandler::GetSessionDbcLocale() const int CliHandler::GetSessionDbLocaleIndex() const { return objmgr.GetDBCLocaleIndex(); -} \ No newline at end of file +} diff --git a/src/game/GameEventMgr.cpp b/src/game/GameEventMgr.cpp index ff4e3b732..868bc87e5 100644 --- a/src/game/GameEventMgr.cpp +++ b/src/game/GameEventMgr.cpp @@ -753,4 +753,4 @@ MANGOS_DLL_SPEC bool IsHolidayActive( HolidayIds id ) return true; return false; -} \ No newline at end of file +} diff --git a/src/game/Guild.cpp b/src/game/Guild.cpp index 022f31d4f..3ed40ad3d 100644 --- a/src/game/Guild.cpp +++ b/src/game/Guild.cpp @@ -1991,4 +1991,4 @@ bool GuildItemPosCount::isContainedIn(GuildItemPosCountVec const &vec) const return true; return false; -} \ No newline at end of file +} diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 0ac47c673..eb755b022 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -1013,4 +1013,4 @@ bool ItemRequiredTarget::IsFitToRequirements( Unit* pUnitTarget ) const default: return false; } -} \ No newline at end of file +} diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp index 9c4223e34..cd0e1db02 100644 --- a/src/game/PetAI.cpp +++ b/src/game/PetAI.cpp @@ -335,4 +335,4 @@ void PetAI::AttackedBy(Unit *attacker) if(!m_creature->getVictim() && m_creature->GetCharmInfo() && !m_creature->GetCharmInfo()->HasReactState(REACT_PASSIVE) && (!m_creature->GetCharmInfo()->HasCommandState(COMMAND_STAY) || m_creature->canReachWithAttack(attacker))) AttackStart(attacker); -} \ No newline at end of file +} diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 62b9504da..fe72d5544 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -470,4 +470,4 @@ void ReputationMgr::UpdateRankCounters( ReputationRank old_rank, ReputationRank ++m_reveredFactionCount; if(new_rank >= REP_HONORED) ++m_honoredFactionCount; -} \ No newline at end of file +} diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 60a4ad155..2e7cf82e6 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5842,4 +5842,4 @@ void Spell::FillRaidOrPartyHealthPriorityTargets( UnitList &TagUnitMap, Unit* me TagUnitMap.push_back(healthQueue.top().getUnit()); healthQueue.pop(); } -} \ No newline at end of file +} diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 4b15b26c0..cded5d44e 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -172,4 +172,4 @@ bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) co break; } return Creature::IsImmunedToSpellEffect(spellInfo, index); -} \ No newline at end of file +} diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2ee2ff85a..b320708c0 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8276" + #define REVISION_NR "8277" #endif // __REVISION_NR_H__