From d9bae017f21f2dea4ebf6795181e09943b982817 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Mon, 19 Jun 2023 01:24:28 -0700 Subject: [PATCH] Wrong name for item printing --- makeprompt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeprompt.h b/makeprompt.h index ced6d2f..90e53d2 100644 --- a/makeprompt.h +++ b/makeprompt.h @@ -806,7 +806,7 @@ MD_String8 parse_chatgpt_response(MD_Arena *arena, Entity *e, MD_String8 sentenc bool found_item = false; BUFF_ITER(ItemKind, &e->held_items) { - MD_String8 cur_item_string = MD_S8CString(items[*it].enum_name); + MD_String8 cur_item_string = MD_S8CString(items[*it].name); MD_S8ListPush(scratch.arena, &item_enum_names, cur_item_string); if(MD_S8Match(cur_item_string, action_arg_str, 0)) {