[Scummvm-git-logs] scummvm master -> 7ac29d2dcde17c5053688a2357037ff33a13a3af
wonst719
wonst719 at gmail.com
Sun May 16 12:09:35 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7ac29d2dcd SCUMM: Fix HashMap usage in Korean translation code
Commit: 7ac29d2dcde17c5053688a2357037ff33a13a3af
https://github.com/scummvm/scummvm/commit/7ac29d2dcde17c5053688a2357037ff33a13a3af
Author: wonst719 (wonst719 at gmail.com)
Date: 2021-05-16T21:09:24+09:00
Commit Message:
SCUMM: Fix HashMap usage in Korean translation code
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 6eeb2e809f..cedb95bab1 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -1936,7 +1936,7 @@ void ScummEngine::loadLanguageBundle() {
for (uint32 i = 0; i < numTranslatedRoom; i++) {
byte roomId = file.readByte();
- TranslationRoom &room = _roomIndex.getVal(roomId);
+ TranslationRoom &room = _roomIndex.getOrCreateVal(roomId);
uint16 numScript = file.readUint16LE();
for (int sc = 0; sc < numScript; sc++) {
More information about the Scummvm-git-logs
mailing list