diff options
Diffstat (limited to 'engines/wintermute/Ad/AdObject.cpp')
-rw-r--r-- | engines/wintermute/Ad/AdObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Ad/AdObject.cpp b/engines/wintermute/Ad/AdObject.cpp index 4bea6921b9..978c4d2c04 100644 --- a/engines/wintermute/Ad/AdObject.cpp +++ b/engines/wintermute/Ad/AdObject.cpp @@ -838,7 +838,7 @@ void CAdObject::talk(const char *text, const char *sound, uint32 duration, const _sentence->_sound = NULL;
_sentence->setText(text);
- Game->_stringTable->Expand(&_sentence->_text);
+ Game->_stringTable->expand(&_sentence->_text);
_sentence->setStances(stances);
_sentence->_duration = duration;
_sentence->_align = Align;
@@ -850,7 +850,7 @@ void CAdObject::talk(const char *text, const char *sound, uint32 duration, const // try to locate speech file automatically
bool deleteSound = false;
if (!sound) {
- char *key = Game->_stringTable->GetKey(text);
+ char *key = Game->_stringTable->getKey(text);
if (key) {
sound = ((CAdGame *)Game)->findSpeechFile(key);
delete [] key;
|