mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core: Fixed warnings
This commit is contained in:
@@ -34,7 +34,7 @@ int GuardAI::Permissible(Creature const* creature)
|
||||
return PERMIT_BASE_NO;
|
||||
}
|
||||
|
||||
void GuardAI::UpdateAI(uint32 diff)
|
||||
void GuardAI::UpdateAI(uint32 /*diff*/)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
@@ -2060,7 +2060,7 @@ class gameobject_cage_trap : public GameObjectScript
|
||||
public:
|
||||
gameobject_cage_trap() : GameObjectScript("gameobject_cage_trap") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* go) override
|
||||
bool OnGossipHello(Player* /*player*/, GameObject* go) override
|
||||
{
|
||||
// Grid search for nearest live Creature of entry 23304 within 10 yards
|
||||
if (Creature* pTrigger = go->FindNearestCreature(23304, 10.0f))
|
||||
|
||||
Reference in New Issue
Block a user