mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Fix build
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user