aboutsummaryrefslogtreecommitdiff
path: root/src/levels/level1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/levels/level1.c')
-rw-r--r--src/levels/level1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/levels/level1.c b/src/levels/level1.c
index 06bd518..882f314 100644
--- a/src/levels/level1.c
+++ b/src/levels/level1.c
@@ -3,6 +3,7 @@
#include "world.h"
#include "entity.h"
#include "entitiesInclude.h"
+#include "entityGrouping.h"
void initLevel1(Game * game, Levels * levels) {
int i;
@@ -47,7 +48,7 @@ bool updateLevel1(Game * game, Levels * levels) {
if (game->world.entitiesCount == 1) {
Vector3 position = Vector3Add(player->position, (Vector3){0.0, 0.0, 1000.0});
Vector3 spacing = (Vector3){0.0, 10.0, 10.0};
- addSoldatoGroupToWorld(game, 10, position, spacing);
+ addEntityGroupToWorld(game, ENTITY_SOLDATO, 10, position, spacing);
data->stage = 1;
}