aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyPool.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 10:19:02 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 10:19:02 +0100
commitcb17c2aad3ca8c89d0f6d8305ba4f3a5c3c2a971 (patch)
treea652b86ac178052320ce7920e9cc450c84173656 /game/enemy/EnemyPool.cpp
parentc1325d3e979e294fced8f80ce43dd1eb86d7f5df (diff)
added to config enemy_pool_max
Diffstat (limited to 'game/enemy/EnemyPool.cpp')
-rw-r--r--game/enemy/EnemyPool.cpp2
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);
}
}