1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2024-01-10 21:30:12 +02:00
parent ea1f05d15a
commit 9af7c63a26
18 changed files with 35 additions and 32 deletions

View File

@ -46,17 +46,14 @@ public:
void SetUp() override
{
IObjectInterface::cb = gameCallback.get();
gameState = std::make_shared<CGameState>();
gameCallback->setGameState(gameState.get());
gameState->preInit(&services);
gameState->preInit(&services, gameCallback.get());
}
void TearDown() override
{
gameState.reset();
IObjectInterface::cb = nullptr;
}
bool describeChanges() const override