mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 04:12:40 +01:00
Core: Fix warnings
This commit is contained in:
@@ -1390,14 +1390,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleDebugPhaseCommand(ChatHandler* handler, char const* /*args*/)
|
||||
static bool HandleDebugPhaseCommand(ChatHandler* /*handler*/, char const* /*args*/)
|
||||
{
|
||||
/*/
|
||||
Unit* unit = handler->getSelectedUnit();
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
if (unit && unit->GetTypeId() == TYPEID_PLAYER)
|
||||
player = unit->ToPlayer();
|
||||
|
||||
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -508,7 +508,7 @@ public:
|
||||
}
|
||||
|
||||
//set phasemask for selected object
|
||||
static bool HandleGameObjectSetPhaseCommand(ChatHandler* handler, char const* args)
|
||||
static bool HandleGameObjectSetPhaseCommand(ChatHandler* /*handler*/, char const* /*args*/)
|
||||
{
|
||||
/*// number or [name] Shift-click form |color|Hgameobject:go_id|h[name]|h|r
|
||||
char* id = handler->extractKeyFromLink((char*)args, "Hgameobject");
|
||||
|
||||
Reference in New Issue
Block a user