[Scummvm-git-logs] scummvm master -> 14eb237a6d5c498cfcb6769b70941933cf9b50de
digitall
noreply at scummvm.org
Fri Feb 18 19:56:46 UTC 2022
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:
14eb237a6d AGOS: Fix GCC Compiler Warnings
Commit: 14eb237a6d5c498cfcb6769b70941933cf9b50de
https://github.com/scummvm/scummvm/commit/14eb237a6d5c498cfcb6769b70941933cf9b50de
Author: D G Turner (digitall at scummvm.org)
Date: 2022-02-18T19:56:20Z
Commit Message:
AGOS: Fix GCC Compiler Warnings
Changed paths:
engines/agos/string.cpp
diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp
index 0663e465d22..3025b007277 100644
--- a/engines/agos/string.cpp
+++ b/engines/agos/string.cpp
@@ -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
if (stringId == 36034) {
if (_language == Common::HE_ISR)
- return (byte *)"@PI L@ IKEL LV at Z NK at O KXBR.";
+ return (const byte *)"@PI L@ IKEL LV at Z NK at O KXBR.";
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)
- return (byte *)"Non posso uscire per il momento.";
+ return (const byte *)"Non posso uscire per il momento.";
}
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;
}
More information about the Scummvm-git-logs
mailing list