1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Remove console global

This commit is contained in:
Ivan Savenko
2025-02-27 23:10:11 +00:00
parent e5a095a237
commit 782362e5ce
12 changed files with 105 additions and 97 deletions

View File

@ -11,7 +11,6 @@
#include "StdInc.h"
#include "CVcmiTestConfig.h"
#include "../lib/CConsoleHandler.h"
#include "../lib/logging/CBasicLogConfigurator.h"
#include "../lib/VCMIDirs.h"
#include "../lib/GameLibrary.h"
@ -23,8 +22,7 @@
void CVcmiTestConfig::SetUp()
{
console = new CConsoleHandler();
preinitDLL(console, true);
preinitDLL(true);
loadDLLClasses(true);
/* TEST_DATA_DIR may be wrong, if yes below test don't run,