mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix crash in ChooseRpgTargetAction
This commit is contained in:
parent
0b599de6bd
commit
5cfac7bf71
@ -132,7 +132,7 @@ bool ChooseRpgTargetAction::Execute(Event event)
|
||||
continue;
|
||||
|
||||
GuidPosition guidP(unit);
|
||||
if (!guidP)
|
||||
if (!guidP || !guidP.getMap())
|
||||
continue;
|
||||
|
||||
float priority = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user