removed long printf
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -28,7 +28,7 @@ void loop(int hour, int humans, int zombies) {
|
|||||||
int new_humans;
|
int new_humans;
|
||||||
int new_zombies;
|
int new_zombies;
|
||||||
|
|
||||||
std:printf("hour: %ld| zombies: %ld| humans: %ld \n", hour, zombies, humans);
|
std:printf("hour: %d| zombies: %d| humans: %d \n", hour, zombies, humans);
|
||||||
|
|
||||||
for (int n = 0; n < new_zombies; n++) {
|
for (int n = 0; n < new_zombies; n++) {
|
||||||
if (rand() % 100 < attack_chance) {
|
if (rand() % 100 < attack_chance) {
|
||||||
|
|||||||
Reference in New Issue
Block a user