mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Merge pull request #1235 from liyunfan1223/revert-1125-patch-17
Revert "Add possible crash fix when summoning an invalid bot"
This commit is contained in:
@@ -217,9 +217,6 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
|
||||
|
||||
if (bot->isDead() && revive)
|
||||
{
|
||||
if (!botAI->IsSafe(player) || !botAI->IsSafe(summoner))
|
||||
return false;
|
||||
|
||||
bot->ResurrectPlayer(1.0f, false);
|
||||
bot->SpawnCorpseBones();
|
||||
botAI->TellMasterNoFacing("I live, again!");
|
||||
|
||||
Reference in New Issue
Block a user