mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 17:02:28 +00:00
[Cleanup] Remove RemoveSpawnGroup() from spawngroup.h (#3090)
# Notes - This is unused.
This commit is contained in:
parent
460739d35c
commit
fea6cbf633
@ -145,17 +145,6 @@ SpawnGroup *SpawnGroupList::GetSpawnGroup(uint32 in_id)
|
||||
return (m_spawn_groups[in_id].get());
|
||||
}
|
||||
|
||||
bool SpawnGroupList::RemoveSpawnGroup(uint32 in_id)
|
||||
{
|
||||
if (m_spawn_groups.count(in_id) != 1) {
|
||||
return (false);
|
||||
}
|
||||
|
||||
m_spawn_groups.erase(in_id);
|
||||
|
||||
return (true);
|
||||
}
|
||||
|
||||
void SpawnGroupList::ReloadSpawnGroups()
|
||||
{
|
||||
ClearSpawnGroups();
|
||||
|
||||
@ -78,7 +78,6 @@ public:
|
||||
|
||||
void AddSpawnGroup(std::unique_ptr<SpawnGroup> &new_group);
|
||||
SpawnGroup *GetSpawnGroup(uint32 id);
|
||||
bool RemoveSpawnGroup(uint32 in_id);
|
||||
void ClearSpawnGroups();
|
||||
void ReloadSpawnGroups();
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user