Core/Misc: Added some missing overrides

This commit is contained in:
David Carlos Manuelda
2015-08-11 04:41:54 +02:00
parent 12931f4762
commit e3c3b8f08f
8 changed files with 9 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ class PointMovementGenerator : public MovementGeneratorMedium< T, PointMovementG
void MovementInform(T*);
void unitSpeedChanged() { i_recalculateSpeed = true; }
void unitSpeedChanged() override { i_recalculateSpeed = true; }
MovementGeneratorType GetMovementGeneratorType() const override { return POINT_MOTION_TYPE; }

View File

@@ -113,7 +113,7 @@ class instance_zulaman : public InstanceMapScript
return false;
}
void OnPlayerEnter(Player* /*player*/)
void OnPlayerEnter(Player* /*player*/) override
{
if (!HarrisonJonesGUID)
instance->SummonCreature(NPC_HARRISON_JONES, HarrisonJonesLoc);
@@ -197,7 +197,7 @@ class instance_zulaman : public InstanceMapScript
return ss.str();
}
void Load(const char* load)
void Load(const char* load) override
{
if (!load)
return;

View File

@@ -235,7 +235,7 @@ public:
summoned->GetMotionMaster()->MovePoint(0, AmbushMoveTo[spawnId]);
}
void sQuestAccept(Player* player, Quest const* quest)
void sQuestAccept(Player* player, Quest const* quest) override
{
if (quest->GetQuestId() == QUEST_RINJI_TRAPPED)
{

View File

@@ -63,7 +63,7 @@ public:
Initialize();
}
void sQuestAccept(Player* player, Quest const* quest)
void sQuestAccept(Player* player, Quest const* quest) override
{
if (quest->GetQuestId() == QUEST_MISSING_IN_ACTION)
{

View File

@@ -61,7 +61,7 @@ public:
Talk(SAY_ATTACKED, who);
}
void sQuestAccept(Player* player, Quest const* quest)
void sQuestAccept(Player* player, Quest const* quest) override
{
if (quest->GetQuestId() == QUEST_GALENS_ESCAPE)
{

View File

@@ -229,7 +229,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader
}
};
SpellScript* GetSpellScript() const
SpellScript* GetSpellScript() const override
{
return new spell_mark_of_kazrogal_SpellScript();
}

View File

@@ -1485,7 +1485,7 @@ public:
creature->AI()->SetGUID(me->GetGUID(), DATA_LAST_OVERLOAD_GUID);
}
void UpdateAI(uint32 /*diff*/)
void UpdateAI(uint32 /*diff*/) override
{
}

View File

@@ -188,7 +188,7 @@ class OPvPCapturePointZM_GraveYard : public OPvPCapturePoint
void ChangeState() override { }
void FillInitialWorldStates(WorldPacket & data);
void FillInitialWorldStates(WorldPacket & data) override;
void UpdateTowerState();