From 98095c907f0f0a5be061e4fdbc7619152979fd42 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 5 Oct 2025 16:53:56 +0100 Subject: [PATCH] chore: removed nav printf --- code/game/impl/npc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/game/impl/npc.c b/code/game/impl/npc.c index bcc54fe..00b03fa 100644 --- a/code/game/impl/npc.c +++ b/code/game/impl/npc.c @@ -3,8 +3,6 @@ #include "core/types.h" #include "core/math.h" -#include - void updateNPC(F32 delta, NPC *npc, World *world) { switch (npc->mode) { case NPC_ACTION_WAITING: @@ -13,11 +11,8 @@ void updateNPC(F32 delta, NPC *npc, World *world) { npc->mode = NPC_ACTION_WALKING; // TODO change targets to poi's rather than just random nodes npc->targetNavNode = Random_U32(&world->random, 0, world->navMesh->nodeCount); - printf("Starting to nav path from %d to %d\n", npc->currentNavNode, npc->targetNavNode); npc->path = Nav_Path(world->navMesh, npc->currentNavNode, npc->targetNavNode); - printf("done\n"); npc->walkTimer = 0; - printf("%.*s started walking to %d\n", Sv(npc->name), npc->targetNavNode); } break; case NPC_ACTION_WALKING: @@ -25,7 +20,6 @@ void updateNPC(F32 delta, NPC *npc, World *world) { if(npc->walkTimer >= NPC_SPEED){ npc->walkTimer = 0; if(npc->path.nodeCount == npc->pathIndex+1){ - printf("Finished! so I'm waiting\n"); npc->mode = NPC_ACTION_WAITING; npc->maxWaitTime = Random_F32(&world->random, 10, 40); npc->waitTime = 0;