aboutsummaryrefslogtreecommitdiff
path: root/src/levels/level1.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-03 01:09:04 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-03 01:09:04 -0700
commit8bd37d4fe75a43deab8d6f24b481c23d7f965c5a (patch)
tree3a606dae6993778919e2ce94c6216d2f8f74d1b2 /src/levels/level1.c
parenta8e21e0ac702fc7bcdcaf144f384cbce8aae03d0 (diff)
More and more level stuff
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;
}