Call core_init instead of bitcount_init

This commit is contained in:
Richard Fine 2018-12-31 12:10:52 +00:00
parent 280a0c61e4
commit a20c8d61be
1 changed files with 3 additions and 2 deletions

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