From a20c8d61bea51313f714c4f5d08a4c21f4841cfb Mon Sep 17 00:00:00 2001 From: Richard Fine Date: Mon, 31 Dec 2018 12:10:52 +0000 Subject: [PATCH] Call core_init instead of bitcount_init --- test/tests/Pathfinding.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/tests/Pathfinding.cpp b/test/tests/Pathfinding.cpp index 3a7dd9d785..ffba1c650d 100644 --- a/test/tests/Pathfinding.cpp +++ b/test/tests/Pathfinding.cpp @@ -4,6 +4,7 @@ #include "openrct2/scenario/Scenario.h" #include +#include #include #include #include @@ -23,6 +24,8 @@ class PathfindingTestBase : public testing::Test public: static void SetUpTestCase() { + core_init(); + gOpenRCT2Headless = true; gOpenRCT2NoGraphics = true; _context = CreateContext(); @@ -32,8 +35,6 @@ public: std::string parkPath = TestData::GetParkPath("pathfinding-tests.sv6"); load_from_sv6(parkPath.c_str()); game_load_init(); - - bitcount_init(); } void SetUp() override