Tome of Valor should no longer desapwn the creature

This commit is contained in:
talamortis
2018-04-01 16:55:50 +01:00
parent b390dd6640
commit 05ed0597c0

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
@@ -85,11 +85,9 @@ public:
void WaypointReached(uint32 waypointId)
{
Player* player = GetPlayerForEscort();
if (!player)
{
me->DespawnOrUnsummon(1);
return;
}
switch (waypointId)
{