Core/build: fixed build on Linux
Fixed an error about nullptr on cs_ticket.cpp
This commit is contained in:
parent
4338156745
commit
5c815d3083
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ public:
|
|||
{
|
||||
// Cannot add response to ticket, assigned to someone else
|
||||
//! Console excluded
|
||||
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : nullptr;
|
||||
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : NULL;
|
||||
if (player && ticket->IsAssignedNotTo(player->GetGUID()))
|
||||
{
|
||||
handler->PSendSysMessage(LANG_COMMAND_TICKETALREADYASSIGNED, ticket->GetId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue