Fix a lot of warnings

This commit is contained in:
Spp
2012-02-16 13:56:08 +01:00
parent e47ec04b4d
commit 03c34ee507
38 changed files with 88 additions and 98 deletions
+1 -1
View File
@@ -1042,7 +1042,7 @@ public:
return true;
}
static bool HandleDebugLoSCommand(ChatHandler* handler, char const* args)
static bool HandleDebugLoSCommand(ChatHandler* handler, char const* /*args*/)
{
if (Unit* unit = handler->getSelectedUnit())
handler->PSendSysMessage("Unit %s (GuidLow: %u) is %sin LoS", unit->GetName(), unit->GetGUIDLow(), handler->GetSession()->GetPlayer()->IsWithinLOSInMap(unit) ? "" : "not ");