Update StringTable.cpp

This commit is contained in:
DeadVoxelx
2026-04-24 16:02:53 -04:00
committed by GitHub
parent b69aeda34d
commit 24cd4db14b

View File

@@ -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;
}