feat: Bump standard to 20 (#1376)

* Bump to 20

* fix warnings and errors

* thanks RakNet
This commit is contained in:
David Markowitz
2024-01-01 23:53:00 -08:00
committed by GitHub
parent 85672e060a
commit 1941679d27
8 changed files with 13 additions and 11 deletions

View File

@@ -51,20 +51,20 @@ Spawner::Spawner(const SpawnerInfo info) {
std::vector<Spawner*> spawnSmashSpawnersN = Game::zoneManager->GetSpawnersByName(m_Info.spawnOnSmashGroupName);
for (Entity* ssEntity : spawnSmashEntities) {
m_SpawnSmashFoundGroup = true;
ssEntity->AddDieCallback([=]() {
ssEntity->AddDieCallback([=, this]() {
Spawn();
});
}
for (Spawner* ssSpawner : spawnSmashSpawners) {
m_SpawnSmashFoundGroup = true;
ssSpawner->AddSpawnedEntityDieCallback([=]() {
ssSpawner->AddSpawnedEntityDieCallback([=, this]() {
Spawn();
});
}
for (Spawner* ssSpawner : spawnSmashSpawnersN) {
m_SpawnSmashFoundGroup = true;
m_SpawnOnSmash = ssSpawner;
ssSpawner->AddSpawnedEntityDieCallback([=]() {
ssSpawner->AddSpawnedEntityDieCallback([=, this]() {
Spawn();
});
}