mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LegacyNetherFork.git
synced 2026-05-21 23:45:11 +00:00
Update StringTable.cpp
This commit is contained in:
@@ -180,6 +180,12 @@ LPCWSTR StringTable::getString(int id)
|
||||
return L"";
|
||||
}
|
||||
|
||||
void StringTable::registerString(int id, const wstring &value)
|
||||
{
|
||||
if (id >= (int)m_stringsVec.size())
|
||||
m_stringsVec.resize(id + 1, L"");
|
||||
m_stringsVec[id] = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user