GUI: U32: Load translation info correctly
This commit is contained in:
parent
dc1c82b74e
commit
6747e354b8
1 changed files with 4 additions and 0 deletions
|
@ -291,6 +291,10 @@ void TranslationManager::loadTranslationsInfoDat() {
|
|||
// Get number of translations
|
||||
int nbTranslations = in.readUint16BE();
|
||||
|
||||
for (int i = 0; i < nbTranslations + 2; i++) {
|
||||
in.readUint16BE(); // skip
|
||||
}
|
||||
|
||||
// Read list of languages
|
||||
_langs.resize(nbTranslations);
|
||||
_langNames.resize(nbTranslations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue