From 82dbdd696dde4fb0f7bbcbff9f428d709ef5e098 Mon Sep 17 00:00:00 2001 From: attilavs2 Date: Tue, 11 Feb 2025 12:08:27 +0100 Subject: [PATCH] - printf de debug --- src/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.c b/src/main.c index 43edf14..7bc1d99 100644 --- a/src/main.c +++ b/src/main.c @@ -260,7 +260,6 @@ void update_worker(Game *game, Worker *worker){ mach[0]->storage[4]--; } else { - printf("Worker full, moving\n"); ai->status = S_Transporting; ai->dest = mach[1]->pos; ai->going_to = 1; @@ -283,7 +282,6 @@ void update_worker(Game *game, Worker *worker){ mach[1]->storage[localres]++; } else{ - printf("Worker empty, moving\n"); ai->status = S_Transporting; ai->dest = mach[0]->pos; ai->going_to = 0; @@ -313,8 +311,6 @@ void update_machine(Game *game, Machine *machine){ MachineDef *def = &machine_dict[machine->type]; bool can_output = machine->assign_workers == def->workers_required; can_output = can_output && (machine->storage[4] <= 200); - if(machine->storage[4] <= 200) - printf("%d : Output full\n", machine->id); for(int i = 0; i < def->input_n; i++){ if(!machine->storage[i]) can_output = false; @@ -324,8 +320,6 @@ void update_machine(Game *game, Machine *machine){ machine->storage[i]--; } machine->storage[4]++; - if(machine->type == MT_Furnace) - printf("Smelting...\n"); } }