This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
14 lines
364 B
C++
14 lines
364 B
C++
#include "stdafx.h"
|
|
#include "DLCManager.h"
|
|
#include "DLCLocalisationFile.h"
|
|
#include "..\..\StringTable.h"
|
|
|
|
DLCLocalisationFile::DLCLocalisationFile(const wstring &path) : DLCFile(DLCManager::e_DLCType_LocalisationData,path)
|
|
{
|
|
m_strings = NULL;
|
|
}
|
|
|
|
void DLCLocalisationFile::addData(PBYTE pbData, DWORD dwBytes)
|
|
{
|
|
m_strings = new StringTable(pbData, dwBytes);
|
|
} |