mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-31 09:23:47 +00:00
Revert "Add possible crash fix when summoning an invalid bot (#1125)"
This reverts commit 495269bfa0.
This commit is contained in:
@@ -217,9 +217,6 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
|
|||||||
|
|
||||||
if (bot->isDead() && revive)
|
if (bot->isDead() && revive)
|
||||||
{
|
{
|
||||||
if (!botAI->IsSafe(player) || !botAI->IsSafe(summoner))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
bot->ResurrectPlayer(1.0f, false);
|
bot->ResurrectPlayer(1.0f, false);
|
||||||
bot->SpawnCorpseBones();
|
bot->SpawnCorpseBones();
|
||||||
botAI->TellMasterNoFacing("I live, again!");
|
botAI->TellMasterNoFacing("I live, again!");
|
||||||
|
|||||||
Reference in New Issue
Block a user