chore(Core): typo fixes (#6272)

Co-authored-by: Bogir <m-000@bk.ru>
This commit is contained in:
Bogir[rus]
2021-06-16 14:28:00 +05:00
committed by GitHub
parent ae703c1383
commit e3a5727222
13 changed files with 12 additions and 13 deletions

View File

@@ -173,7 +173,7 @@ public:
case EVENT_SPEECH_7:
me->setFaction(103);
if (PlayerGUID && ObjectAccessor::GetUnit(*me, PlayerGUID))
AttackStart(ObjectAccessor::GetUnit(*me, PlayerGUID));;
AttackStart(ObjectAccessor::GetUnit(*me, PlayerGUID));
break;
}
}

View File

@@ -679,7 +679,7 @@ public:
if( Unit* c = v->GetBase() )
if( c->GetTypeId() == TYPEID_UNIT && c->ToCreature()->GetEntry() == (pInstance->GetData(DATA_TEAMID_IN_INSTANCE) == TEAM_HORDE ? VEHICLE_ARGENT_BATTLEWORG : VEHICLE_ARGENT_WARHORSE) )
{
me->GetMotionMaster()->MovementExpired();;
me->GetMotionMaster()->MovementExpired();
me->GetMotionMaster()->MoveIdle();
me->StopMoving();
me->CastSpell(me, SPELL_TRAMPLE_STUN, false);

View File

@@ -232,7 +232,7 @@ public:
return;
if (summoner->ToCreature())
casterGUID = summoner->ToCreature()->GetGUID();;
casterGUID = summoner->ToCreature()->GetGUID();
}
void JustDied(Unit* /*killer*/) override