remove ref

This commit is contained in:
David Markowitz
2026-06-19 18:49:02 -07:00
parent a720895bee
commit 3942a58bc2
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ void Spawner::Update(const float deltaTime) {
}
}
const std::vector<LWOOBJID>& Spawner::GetSpawnedObjectIDs() const {
const std::vector<LWOOBJID> Spawner::GetSpawnedObjectIDs() const {
std::vector<LWOOBJID> ids;
ids.reserve(m_Entities.size());
for (const auto objId : m_Entities | std::views::keys) {

View File

@@ -94,7 +94,7 @@ public:
void SetRespawnTime(const float time);
void SetNumToMaintain(const int32_t value);
bool GetIsSpawnSmashGroup() const { return m_SpawnSmashFoundGroup; };
const std::vector<LWOOBJID>& GetSpawnedObjectIDs() const;
const std::vector<LWOOBJID> GetSpawnedObjectIDs() const;
SpawnerInfo m_Info;
bool m_Active = true;