diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 03:16:32 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 03:16:32 +0200 |
commit | 5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c (patch) | |
tree | 6b2126773aea642162afaeaa6db99103d55184ef /src/scripts/Commands/cs_misc.cpp | |
parent | cf627d832717c990b02da5e5ba06b4f218079321 (diff) |
Removed more warnings, mostly related to unused-variable
issue #121
We still have to work on unused-parameter
Diffstat (limited to 'src/scripts/Commands/cs_misc.cpp')
-rw-r--r-- | src/scripts/Commands/cs_misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_misc.cpp b/src/scripts/Commands/cs_misc.cpp index 0a58963834..a1f36e64ff 100644 --- a/src/scripts/Commands/cs_misc.cpp +++ b/src/scripts/Commands/cs_misc.cpp @@ -3082,10 +3082,10 @@ public: if (flags.empty()) flags = "None"; - Player* p = ObjectAccessor::FindPlayerInOrOutOfWorld((*itr).guid); + /*Player* p = ObjectAccessor::FindPlayerInOrOutOfWorld((*itr).guid); const char* onlineState = p ? "online" : "offline"; - /*handler->PSendSysMessage(LANG_GROUP_PLAYER_NAME_GUID, slot.name.c_str(), onlineState, + handler->PSendSysMessage(LANG_GROUP_PLAYER_NAME_GUID, slot.name.c_str(), onlineState, GUID_LOPART(slot.guid), flags.c_str(), lfg::GetRolesString(slot.roles).c_str());*/ } } |