Core: Fixed warnings
This commit is contained in:
@@ -34,7 +34,7 @@ int GuardAI::Permissible(Creature const* creature)
|
|||||||
return PERMIT_BASE_NO;
|
return PERMIT_BASE_NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GuardAI::UpdateAI(uint32 diff)
|
void GuardAI::UpdateAI(uint32 /*diff*/)
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -2060,7 +2060,7 @@ class gameobject_cage_trap : public GameObjectScript
|
|||||||
public:
|
public:
|
||||||
gameobject_cage_trap() : GameObjectScript("gameobject_cage_trap") { }
|
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
|
// Grid search for nearest live Creature of entry 23304 within 10 yards
|
||||||
if (Creature* pTrigger = go->FindNearestCreature(23304, 10.0f))
|
if (Creature* pTrigger = go->FindNearestCreature(23304, 10.0f))
|
||||||
|
|||||||
Reference in New Issue
Block a user