player health

This commit is contained in:
2025-10-06 17:45:58 +01:00
parent fcc7adfb22
commit d54b4df4c2
4 changed files with 7 additions and 1 deletions

View File

@@ -143,6 +143,7 @@ int main(int argc, char **argv)
world->player.collision.size.y = 2;
world->player.bulletsLoaded = PLAYER_BULLET_COUNT;
world->player.reloadTimer = 0;
world->player.health = 3;
world->player.currentArea = WORLD_AREA_OUTSIDE;
for(int i =0; i< 4200; i++) {
world->map[i] = map[i];