From f53a8704ebcf200f99e1245c8270958c131eef1e Mon Sep 17 00:00:00 2001 From: Crow Date: Thu, 8 Jan 2026 13:46:36 -0600 Subject: [PATCH] Remove InitSpells() (#1983) InitSpells() is never called, and even if it were to be, it would do nothing but call InitAvailableSpells(). --- src/factory/PlayerbotFactory.cpp | 2 -- src/factory/PlayerbotFactory.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/factory/PlayerbotFactory.cpp b/src/factory/PlayerbotFactory.cpp index 37be9a81..82f8ea7e 100644 --- a/src/factory/PlayerbotFactory.cpp +++ b/src/factory/PlayerbotFactory.cpp @@ -1103,8 +1103,6 @@ void PlayerbotFactory::ResetQuests() } } -void PlayerbotFactory::InitSpells() { InitAvailableSpells(); } - void PlayerbotFactory::InitTalentsTree(bool increment /*false*/, bool use_template /*true*/, bool reset /*false*/) { uint32 specTab; diff --git a/src/factory/PlayerbotFactory.h b/src/factory/PlayerbotFactory.h index 109d7109..d943463e 100644 --- a/src/factory/PlayerbotFactory.h +++ b/src/factory/PlayerbotFactory.h @@ -95,7 +95,6 @@ private: void InitTradeSkills(); void UpdateTradeSkills(); void SetRandomSkill(uint16 id); - void InitSpells(); void ClearSpells(); void ClearSkills(); void InitTalents(uint32 specNo);