equal
deleted
inserted
replaced
278 |
278 |
279 LoadLocale(Pathz[ptLocale] + '/en.txt'); // Do an initial load with english |
279 LoadLocale(Pathz[ptLocale] + '/en.txt'); // Do an initial load with english |
280 if cLocaleFName <> 'en.txt' then |
280 if cLocaleFName <> 'en.txt' then |
281 begin |
281 begin |
282 // Try two letter locale first before trying specific locale overrides |
282 // Try two letter locale first before trying specific locale overrides |
283 if Length(cLocaleFName) <> 6 then LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocaleFName,1,2)+'.txt'); |
283 if (Length(cLocaleFName) > 6) and (Copy(cLocaleFName,1,2)+'.txt' <> 'en.txt') then |
|
284 LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocaleFName,1,2)+'.txt'); |
284 LoadLocale(Pathz[ptLocale] + '/' + cLocaleFName); |
285 LoadLocale(Pathz[ptLocale] + '/' + cLocaleFName); |
285 end; |
286 end; |
286 |
287 |
287 if recordFileName = '' then |
288 if recordFileName = '' then |
288 SendIPCAndWaitReply('C') // ask for game config |
289 SendIPCAndWaitReply('C') // ask for game config |