fix some compiler warnings about unused variables, part 2

This commit is contained in:
Stoabrogga
2019-04-05 08:52:16 +00:00
parent 3042fd8f07
commit 5d057b01eb
3 changed files with 4 additions and 4 deletions

View File

@@ -3986,9 +3986,9 @@ namespace LuaPlayer
if (player->GetGroup() || invited->GetGroup())
return 0;
if (Group* invitedgroup = player->GetGroupInvite())
if (player->GetGroupInvite())
player->UninviteFromGroup();
if (Group* invitedgroup = invited->GetGroupInvite())
if (invited->GetGroupInvite())
invited->UninviteFromGroup();
// Try create new group