aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyPool.cpp
diff options
context:
space:
mode:
authorheavydemon21 <48092678+heavydemon21@users.noreply.github.com>2025-01-10 19:35:08 +0100
committerGitHub <noreply@github.com>2025-01-10 19:35:08 +0100
commitb9d00961a8894356c7cff7597de424a12d2841a6 (patch)
treeaa033307a742df0c22131482858749bcf480ba38 /game/enemy/EnemyPool.cpp
parent20f6f8ddf013e5d18770bd0a01474a845843bdd7 (diff)
parentf3413f3d0fbffee0cc363096cd873a8be766ad64 (diff)
Merge pull request #123 from lonkaars/wouter/game-improvements
some extra features
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);
}
}