mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Revert "Add possible crash fix when summoning an invalid bot (#1125)"
This reverts commit 495269bfa06a42c2a65cd7562fd396668ddd627f.
This commit is contained in:
parent
bf54f74359
commit
3d6f925cca
@ -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!");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user