game
This commit is contained in:
parent
876df59231
commit
257bf01c5c
@ -62,7 +62,7 @@ int step_state(struct state* st) {
|
||||
for (int j = 0; j < FOOD_COUNT; j++) {
|
||||
if (st->foodx[j] >= 0) zostava_jedlo = 1;
|
||||
}
|
||||
|
||||
|
||||
if (!zostava_jedlo) return END_FOOD;
|
||||
return END_CONTINUE;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user