[Cleanup] Remove RemoveSpawnGroup() from spawngroup.h (#3090)

# Notes
- This is unused.
This commit is contained in:
Alex King 2023-03-17 06:17:44 -04:00 committed by GitHub
parent 460739d35c
commit fea6cbf633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -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();

View File

@ -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: