diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-08-20 04:59:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-20 04:59:52 +0200 |
commit | c854b658828f66f69b13eb62c6a984de8e345b45 (patch) | |
tree | 0118efcdd8898db4857961009f8eac79ca27b4d4 /src/scripts/Commands/cs_wp.cpp | |
parent | fa147d84d29b6ebd99af6f8eb9eb39476d2f0228 (diff) | |
parent | 0dd68dfbee97eb7ed2c9bd4109ba3f2aed697860 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'src/scripts/Commands/cs_wp.cpp')
-rw-r--r-- | src/scripts/Commands/cs_wp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Commands/cs_wp.cpp b/src/scripts/Commands/cs_wp.cpp index cdafdc2f27..870fb95e52 100644 --- a/src/scripts/Commands/cs_wp.cpp +++ b/src/scripts/Commands/cs_wp.cpp @@ -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); |