Core/Command: Fix a crash when using wp show info pathid
Fix #530 thanks to @BarbzYHOOL for testing
This commit is contained in:
parent
f353f9b5bb
commit
6aff74cd17
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ public:
|
|||
if (show == "info")
|
||||
{
|
||||
// Check if the user did specify a visual waypoint
|
||||
if (target && target->GetEntry() != VISUAL_WAYPOINT)
|
||||
if (!target || target->GetEntry() != VISUAL_WAYPOINT)
|
||||
{
|
||||
handler->PSendSysMessage(LANG_WAYPOINT_VP_SELECT);
|
||||
handler->SetSentErrorMessage(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue