mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Renamed LibClasses * VLC
to GameLibrary * LIBRARY
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
#include "TextOperations.h"
|
||||
#include "Languages.h"
|
||||
|
||||
#include "../VCMI_Lib.h"
|
||||
#include "../GameLibrary.h"
|
||||
#include "filesystem/Filesystem.h"
|
||||
#include "../modding/CModHandler.h"
|
||||
|
||||
@ -32,7 +32,7 @@ protected:
|
||||
CLegacyConfigParser::CLegacyConfigParser(const TextPath & resource)
|
||||
{
|
||||
auto input = CResourceHandler::get()->load(resource);
|
||||
fileEncoding = VLC->modh->findResourceEncoding(resource);
|
||||
fileEncoding = LIBRARY->modh->findResourceEncoding(resource);
|
||||
|
||||
data.reset(new char[input->getSize()]);
|
||||
input->read(reinterpret_cast<uint8_t*>(data.get()), input->getSize());
|
||||
|
Reference in New Issue
Block a user