diff options
author | Jinnaix <37972361+Jinnaix@users.noreply.github.com> | 2021-08-14 13:34:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-14 13:34:51 +0200 |
commit | 6bcda49e98f08e663eb7a2e6e8a5aa6c2143a2a8 (patch) | |
tree | b77c41cdd852c606243828f411302a2106793733 /src | |
parent | f620befc37fd8a4aed917e1ebba6f268c44a0a99 (diff) |
Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit
* corrections
Closes #23577
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Kalimdor/zone_silithus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/zone_silithus.cpp b/src/server/scripts/Kalimdor/zone_silithus.cpp index c97d42aee91..d9ef38f3fce 100644 --- a/src/server/scripts/Kalimdor/zone_silithus.cpp +++ b/src/server/scripts/Kalimdor/zone_silithus.cpp @@ -1214,7 +1214,7 @@ class go_wind_stone : public GameObjectScript void SummonNPC(GameObject* go, Player* player, uint32 npc, uint32 spell) { - go->CastSpell(player, spell); + player->CastSpell(player, spell); TempSummon* summons = go->SummonCreature(npc, go->GetPositionX(), go->GetPositionY(), go->GetPositionZ(), player->GetOrientation() - float(M_PI), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 10min); summons->CastSpell(summons, SPELL_SPAWN_IN, false); switch (summons->GetEntry()) |