mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
Added abit more defense programming, should be needed still ..why not
This commit is contained in:
parent
687d996643
commit
b8e11b73de
@ -221,7 +221,7 @@ public:
|
||||
if (Group* group = player->GetGroup())
|
||||
{
|
||||
Player* leader = group->GetLeader();
|
||||
if (leader != player)
|
||||
if (leader && leader != player)
|
||||
{
|
||||
if (PlayerbotAI* leaderBotAI = GET_PLAYERBOT_AI(leader))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user