From b495959353eed6aa5d68c6c5de5304e80f9fde74 Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Sun, 23 Oct 2016 21:13:06 -0400 Subject: [PATCH] don't init species tbl in FS1 demo --- src/menuui/techmenu.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/menuui/techmenu.cpp b/src/menuui/techmenu.cpp index a048806..c88a1eb 100644 --- a/src/menuui/techmenu.cpp +++ b/src/menuui/techmenu.cpp @@ -1507,6 +1507,14 @@ void techroom_intel_init() { static int inited = 0; +#ifdef FS1_DEMO + // fs1 demo doesn't have techroom, nor a species.tbl + SDL_zero(Intel_info); + Intel_info_size = 0; + + return; +#endif + // open localization lcl_ext_open(); -- 2.39.2