From 05ed0597c04ec1eb1a708ee4358ef5bfd5668a80 Mon Sep 17 00:00:00 2001 From: talamortis Date: Sun, 1 Apr 2018 16:55:50 +0100 Subject: [PATCH] Tome of Valor should no longer desapwn the creature --- src/server/scripts/EasternKingdoms/zone_westfall.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/zone_westfall.cpp b/src/server/scripts/EasternKingdoms/zone_westfall.cpp index a9675bf21..ab68c203a 100644 --- a/src/server/scripts/EasternKingdoms/zone_westfall.cpp +++ b/src/server/scripts/EasternKingdoms/zone_westfall.cpp @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2016+ AzerothCore , released under GNU GPL v2 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2 * Copyright (C) 2008-2016 TrinityCore * Copyright (C) 2005-2009 MaNGOS @@ -85,11 +85,9 @@ public: void WaypointReached(uint32 waypointId) { Player* player = GetPlayerForEscort(); + if (!player) - { - me->DespawnOrUnsummon(1); return; - } switch (waypointId) {