From 9f33b432fccda42039156b072eee94de5ff6f5fb Mon Sep 17 00:00:00 2001 From: JohnAFernandez Date: Tue, 5 Jan 2021 00:07:07 -0500 Subject: [PATCH] Simply this check --- code/menuui/techmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/menuui/techmenu.cpp b/code/menuui/techmenu.cpp index d1a0668582..10b7660380 100644 --- a/code/menuui/techmenu.cpp +++ b/code/menuui/techmenu.cpp @@ -297,7 +297,7 @@ void techroom_unload_animation() void techroom_select_new_entry() { - if (Current_list->empty() || Current_list->at(0).index == -1) { + if (Current_list->empty()) { Cur_entry_index = Cur_entry = -1; techroom_init_desc(nullptr,0); return;