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
|
||||
while(true)
|
||||
{
|
||||
int enemies_in_level;
|
||||
if(depth < MAX_ENEMIES)
|
||||
{
|
||||
enemies_in_level = depth;
|
||||
}
|
||||
else
|
||||
{
|
||||
enemies_in_level = MAX_ENEMIES;
|
||||
}
|
||||
int enemies_in_level;
|
||||
if(depth < MAX_ENEMIES)
|
||||
{
|
||||
enemies_in_level = depth;
|
||||
}
|
||||
else
|
||||
{
|
||||
enemies_in_level = MAX_ENEMIES;
|
||||
}
|
||||
init();
|
||||
generate(enemies_in_level);
|
||||
draw();
|
||||
|
|
Loading…
Reference in a new issue