Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, some camelCase changes
svn-id: r49568
This commit is contained in:
parent
a635b94823
commit
93f33c7dab
10 changed files with 44 additions and 36 deletions
|
@ -151,7 +151,10 @@ reg_t kDoAudio(EngineState *s, int argc, reg_t *argv) {
|
|||
if (language != -1)
|
||||
g_sci->getResMan()->setAudioLanguage(language);
|
||||
|
||||
return make_reg(0, g_sci->getSciLanguage());
|
||||
kLanguage kLang = g_sci->getSciLanguage();
|
||||
g_sci->setSciLanguage(kLang);
|
||||
|
||||
return make_reg(0, kLang);
|
||||
}
|
||||
break;
|
||||
case kSciAudioCD:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue