Core: merged some analysis issue fixup commits from master and 335

This commit is contained in:
Ovahlord
2019-02-18 04:15:05 +01:00
parent 6d174c7e3b
commit f763095de9
4 changed files with 7 additions and 4 deletions

View File

@@ -485,7 +485,7 @@ public:
return true;
}
handler->PSendSysMessage(LANG_COMMAND_GO_INSTANCE_FAILED, mapid, scriptname, exit->target_mapId);
handler->PSendSysMessage(LANG_COMMAND_GO_INSTANCE_FAILED, mapid, scriptname, exit ? exit->target_mapId : uint32(-1));
handler->SetSentErrorMessage(true);
return false;
}