AGOS: Fix GCC Compiler Warnings

This commit is contained in:
D G Turner 2022-02-18 19:56:20 +00:00
parent 14c3e31fb6
commit 14eb237a6d

View File

@ -166,15 +166,15 @@ const byte *AGOSEngine::getLocalStringByID(uint16 stringId) {
// WORKAROUND bug for Simon 1 (only in CD-ROM versions) missing subtitles text when using the map at the dungeon, strings taken from Floppy versions // WORKAROUND bug for Simon 1 (only in CD-ROM versions) missing subtitles text when using the map at the dungeon, strings taken from Floppy versions
if (stringId == 36034) { if (stringId == 36034) {
if (_language == Common::HE_ISR) if (_language == Common::HE_ISR)
return (byte *)"@PI L@ IKEL LV@Z NK@O KXBR."; return (const byte *)"@PI L@ IKEL LV@Z NK@O KXBR.";
if (_language == Common::ES_ESP) if (_language == Common::ES_ESP)
return (byte *)"Ahora no puedo salir de aqu<."; return (const byte *)"Ahora no puedo salir de aqu<.";
if (_language == Common::IT_ITA) if (_language == Common::IT_ITA)
return (byte *)"Non posso uscire per il momento."; return (const byte *)"Non posso uscire per il momento.";
} }
if (stringId == 36035 && _language == Common::FR_FRA) if (stringId == 36035 && _language == Common::FR_FRA)
return (byte *)"Je ne peux pas sortir de l; pour l'instant."; return (const byte *)"Je ne peux pas sortir de l; pour l'instant.";
} }
return localString; return localString;
} }