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:
parent
c25b485457
commit
3d011ea4a0
1 changed files with 9 additions and 9 deletions
18
main.cpp
18
main.cpp
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue