From f32f251929a672d3649626b717ac6e9d3aebc9b9 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Fri, 31 Mar 2023 18:40:23 -0700 Subject: [PATCH] Extra logging --- main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 2fee619..f9b6dea 100644 --- a/main.c +++ b/main.c @@ -2353,10 +2353,18 @@ void frame(void) } else if(status == 2) { - Log("Failed to generate dialog! Fuck!"); + Log("Failed to generate dialog! Fuck!\n"); // need somethin better here. Maybe each sentence has to know if it's player or NPC, that way I can remove the player's dialog process_perception(it, (Perception){.type = NPCDialog, .npc_action_type = ACT_none, .npc_dialog = SENTENCE_CONST("I'm not sure...")}); } + else if(status == -1) + { + Log("Generation request doesn't exist anymore, that's fine...\n"); + } + else + { + Log("Unknown generation request status: %d\n", status); + } it->gen_request_id = 0; } }