1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-04 15:00:42 +00:00

Let HellSpawner get at the string translation map (#479)

This commit is contained in:
Ziemas 2020-06-28 16:33:09 +02:00 committed by GitHub
parent 6c56027731
commit a86f27bf0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,10 @@ func GetDictionaryEntryCount() int {
return len(lookupTable)
}
func GetTranslationMap() map[string]string {
return lookupTable
}
func LoadTextDictionary(dictionaryData []byte) {
if lookupTable == nil {
lookupTable = make(map[string]string)