[8277] Add new line at the end of some .cpp to make gcc happy

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Gendalph 2009-07-29 18:32:52 +04:00 committed by VladimirMangos
parent 9002710c93
commit ae61c1eec0
10 changed files with 10 additions and 10 deletions

View file

@ -235,7 +235,7 @@ bool AchievementCriteriaData::IsValid(AchievementCriteriaEntry const* criteria)
} }
return true; return true;
case ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE: case ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE:
return true; // not check correctness node indexes return true; // not check correctness node indexes
default: 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); 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; return false;

View file

@ -1644,4 +1644,4 @@ LocaleConstant CliHandler::GetSessionDbcLocale() const
int CliHandler::GetSessionDbLocaleIndex() const int CliHandler::GetSessionDbLocaleIndex() const
{ {
return objmgr.GetDBCLocaleIndex(); return objmgr.GetDBCLocaleIndex();
} }

View file

@ -753,4 +753,4 @@ MANGOS_DLL_SPEC bool IsHolidayActive( HolidayIds id )
return true; return true;
return false; return false;
} }

View file

@ -1991,4 +1991,4 @@ bool GuildItemPosCount::isContainedIn(GuildItemPosCountVec const &vec) const
return true; return true;
return false; return false;
} }

View file

@ -1013,4 +1013,4 @@ bool ItemRequiredTarget::IsFitToRequirements( Unit* pUnitTarget ) const
default: default:
return false; return false;
} }
} }

View file

@ -335,4 +335,4 @@ void PetAI::AttackedBy(Unit *attacker)
if(!m_creature->getVictim() && m_creature->GetCharmInfo() && !m_creature->GetCharmInfo()->HasReactState(REACT_PASSIVE) && if(!m_creature->getVictim() && m_creature->GetCharmInfo() && !m_creature->GetCharmInfo()->HasReactState(REACT_PASSIVE) &&
(!m_creature->GetCharmInfo()->HasCommandState(COMMAND_STAY) || m_creature->canReachWithAttack(attacker))) (!m_creature->GetCharmInfo()->HasCommandState(COMMAND_STAY) || m_creature->canReachWithAttack(attacker)))
AttackStart(attacker); AttackStart(attacker);
} }

View file

@ -470,4 +470,4 @@ void ReputationMgr::UpdateRankCounters( ReputationRank old_rank, ReputationRank
++m_reveredFactionCount; ++m_reveredFactionCount;
if(new_rank >= REP_HONORED) if(new_rank >= REP_HONORED)
++m_honoredFactionCount; ++m_honoredFactionCount;
} }

View file

@ -5842,4 +5842,4 @@ void Spell::FillRaidOrPartyHealthPriorityTargets( UnitList &TagUnitMap, Unit* me
TagUnitMap.push_back(healthQueue.top().getUnit()); TagUnitMap.push_back(healthQueue.top().getUnit());
healthQueue.pop(); healthQueue.pop();
} }
} }

View file

@ -172,4 +172,4 @@ bool Totem::IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) co
break; break;
} }
return Creature::IsImmunedToSpellEffect(spellInfo, index); return Creature::IsImmunedToSpellEffect(spellInfo, index);
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8276" #define REVISION_NR "8277"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__