aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_text.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-12-10 19:12:18 +0100
committerBastien Bouclet2018-12-10 19:12:18 +0100
commit9894976adebb0d7004d4b0171ab5d64a949e8656 (patch)
tree20945bc39f9acb7087789335a9bf250b5b3fac91 /engines/pink/objects/actions/action_text.cpp
parent10ff73e6e03a4b9117fd7035355ee28c2dffa4a4 (diff)
downloadscummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.tar.gz
scummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.tar.bz2
scummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.zip
PINK: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
Diffstat (limited to 'engines/pink/objects/actions/action_text.cpp')
-rw-r--r--engines/pink/objects/actions/action_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp
index ea7d486327..a5b97b10c2 100644
--- a/engines/pink/objects/actions/action_text.cpp
+++ b/engines/pink/objects/actions/action_text.cpp
@@ -90,7 +90,7 @@ void ActionText::start() {
_txtWnd->move(_xLeft, _yTop);
_txtWnd->resize(_xRight - _xLeft, _yBottom - _yTop);
- if (_actor->getPage()->getGame()->getGameDesc().language == Common::EN_ANY)
+ if (_actor->getPage()->getGame()->getLanguage() == Common::EN_ANY)
_txtWnd->appendText(str, font);
} else {
director->addTextAction(this);