Updated code for New config.
*enable/disable Minigob Manabonk *Put the config option in the wrong part, changed from int to bool.
This commit is contained in:
parent
ccb3e8c2a4
commit
cbf7bc2d3f
3 changed files with 3 additions and 3 deletions
|
|
@ -560,7 +560,7 @@ class npc_minigob_manabonk : public CreatureScript
|
|||
void UpdateAI(uint32 diff)
|
||||
{
|
||||
|
||||
if (CONFIG_MINIGOB_MANABONK == false)
|
||||
if (!sWorld->getBoolConfig(CONFIG_MINIGOB_MANABONK))
|
||||
return;
|
||||
|
||||
events.Update(diff);
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ class npc_wg_queue : public CreatureScript
|
|||
|
||||
bool OnGossipHello(Player* player, Creature* creature)
|
||||
{
|
||||
if (CONFIG_WINTERGRASP_ENABLE == false)
|
||||
if (!sWorld->getBoolConfig(CONFIG_MINIGOB_MANABONK))
|
||||
return false;
|
||||
|
||||
if (creature->IsQuestGiver())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue