mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
SCI: Add special check for Russian versions of the games
This commit is contained in:
parent
9263a0f234
commit
e00b2064a5
@ -436,6 +436,12 @@ bool MessageState::stringStage(Common::String &outstr, const Common::String &inS
|
||||
return true;
|
||||
}
|
||||
|
||||
// For Russian we allow all upper characters
|
||||
if (g_sci->getLanguage() == Common::RU_RUS) {
|
||||
if ((inStr[i] >= 'a') || ((inStr[i] >= '0') && (inStr[i] <= '9') && (getSciVersion() < SCI_VERSION_2)))
|
||||
return false;
|
||||
}
|
||||
|
||||
// If we find a lowercase character or a digit, it's not a stage direction
|
||||
// SCI32 seems to support having digits in stage directions
|
||||
if (((inStr[i] >= 'a') && (inStr[i] <= 'z')) || ((inStr[i] >= '0') && (inStr[i] <= '9') && (getSciVersion() < SCI_VERSION_2)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user