aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/speech.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/speech.cpp')
-rw-r--r--engines/sludge/speech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/speech.cpp b/engines/sludge/speech.cpp
index b3fedac70e..6324da88cc 100644
--- a/engines/sludge/speech.cpp
+++ b/engines/sludge/speech.cpp
@@ -193,7 +193,7 @@ int SpeechManager::wrapSpeech(const Common::String &theText, int objT, int sampl
setObjFontColour(thisPerson->thisType);
i = wrapSpeechPerson(theText, *thisPerson, sampleFile, animPerson);
} else {
- ScreenRegion *thisRegion = getRegionForObject(objT);
+ ScreenRegion *thisRegion = g_sludge->_regionMan->getRegionForObject(objT);
if (thisRegion) {
setObjFontColour(thisRegion->thisType);
i = wrapSpeechXY(theText,