diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 10:19:02 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 10:19:02 +0100 |
commit | cb17c2aad3ca8c89d0f6d8305ba4f3a5c3c2a971 (patch) | |
tree | a652b86ac178052320ce7920e9cc450c84173656 /game/enemy/EnemyPool.cpp | |
parent | c1325d3e979e294fced8f80ce43dd1eb86d7f5df (diff) |
added to config enemy_pool_max
Diffstat (limited to 'game/enemy/EnemyPool.cpp')
-rw-r--r-- | game/enemy/EnemyPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/enemy/EnemyPool.cpp b/game/enemy/EnemyPool.cpp index a7179bf..135fc35 100644 --- a/game/enemy/EnemyPool.cpp +++ b/game/enemy/EnemyPool.cpp @@ -4,7 +4,7 @@ using namespace std; void EnemyPool::create_enemies(crepe::Scene & scn) { EnemySubScene enemy; int amount = 0; - while (amount < this->MAXIMUM_AMOUNT) { + while (amount < ENEMY_POOL_MAX) { amount = enemy.create(scn, amount); } } |