Core/Misc: Fixed some issues found by Coverity Scan
This commit is contained in:
1 parent
ab6be8c603
commit
ac10589eda
21 files changed
+108
-114
No files matched your search
@@ -796,7 +796,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);
|
||||
|
||||
Reference in new issue
Block a user