1
Fork 0
mirror of https://github.com/Steffo99/iiiiil-gioco.git synced 2024-11-24 08:54:19 +00:00

I tab sono cattivi

This commit is contained in:
Steffo 2016-01-12 17:12:24 +01:00
parent c25b485457
commit 3d011ea4a0

View file

@ -687,15 +687,15 @@ int main()
//Ciclo del gioco //Ciclo del gioco
while(true) while(true)
{ {
int enemies_in_level; int enemies_in_level;
if(depth < MAX_ENEMIES) if(depth < MAX_ENEMIES)
{ {
enemies_in_level = depth; enemies_in_level = depth;
} }
else else
{ {
enemies_in_level = MAX_ENEMIES; enemies_in_level = MAX_ENEMIES;
} }
init(); init();
generate(enemies_in_level); generate(enemies_in_level);
draw(); draw();