Merge pull request #6774 from janisozaur/fixes

Various code improvements
This commit is contained in:
Hielke Morsink authored and GitHub committed 2018-05-15 14:38:43 +02:00
commit 6c65c3d64d
32 files changed
+77 -122

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ void StringTable::Read(IReadObjectContext * context, IStream * stream, uint8 id)
(rct2LanguageId <= RCT2_LANGUAGE_ID_PORTUGUESE) ?
RCT2ToOpenRCT2LanguageId[rct2LanguageId] :
LANGUAGE_UNDEFINED;
StringTableEntry entry;
StringTableEntry entry { };
entry.Id = id;
entry.LanguageId = languageId;