diff options
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -5,7 +5,13 @@ struct game game; void update_game(float dt) { - + for (int i = 0; i < MAX_ENTITY_COUNT; i++) { + struct entity* current = &game.entities[i]; + if (!entity_active(current)) + continue; + + update_entity(current, dt); + } } void draw_game() { |
