Call core_init instead of bitcount_init

This commit is contained in:
Richard Fine committed 2019-01-02 14:12:51 +00:00
1 parent 280a0c61e4
commit a20c8d61be
1 file changed
+3 -2
+3 -2
View File
@@ -4,6 +4,7 @@
#include "openrct2/scenario/Scenario.h"
#include <gtest/gtest.h>
#include <openrct2/platform/platform.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/OpenRCT2.h>
@@ -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