diff options
author | Jinnaix <37972361+Jinnaix@users.noreply.github.com> | 2021-08-14 13:34:51 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-12 23:00:30 +0100 |
commit | e7682d8e087f708e04643fd296608c0f7a5c4f39 (patch) | |
tree | 675300593c556f305ef0419224eee1666e7058b7 | |
parent | b3b6e2715eb2a75805b7d879a1bef1074c085143 (diff) |
Core/Script: fix Silithus Wind Stone exploit (#26808)
* Core/Script: fix Silithus Wind Stone exploit
* corrections
Closes #23577
(cherry picked from commit 6bcda49e98f08e663eb7a2e6e8a5aa6c2143a2a8)
-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 897ff8ce204..25c17709f4d 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()) |