aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/talk.cpp
diff options
context:
space:
mode:
authorStrangerke2013-02-07 21:56:10 +0100
committerStrangerke2013-02-07 21:56:10 +0100
commitd12cd961610e3c2c8d060e2a300a5690dfb3daef (patch)
tree6c77d03e169cf27dadd0bfa0472f8c90f92991dc /engines/hopkins/talk.cpp
parenta542e38059dc3ba1a346131cddf210d64a88866e (diff)
downloadscummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.tar.gz
scummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.tar.bz2
scummvm-rg350-d12cd961610e3c2c8d060e2a300a5690dfb3daef.zip
HOPKINS: Improve private/public scope in Globals. Remove some useless variables, move some variables to FontManager
Diffstat (limited to 'engines/hopkins/talk.cpp')
-rw-r--r--engines/hopkins/talk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp
index fea3bcc235..319b9f93a6 100644
--- a/engines/hopkins/talk.cpp
+++ b/engines/hopkins/talk.cpp
@@ -516,7 +516,7 @@ int TalkManager::VERIF_BOITE(int idx, const Common::String &file, int a3) {
Common::File f;
int filesize;
- _vm->_globals._fontFixedWidth = 11;
+ _vm->_fontManager._fontFixedWidth = 11;
// Build up the filename
filename = dest = file;
@@ -577,7 +577,7 @@ int TalkManager::VERIF_BOITE(int idx, const Common::String &file, int a3) {
++v10;
} while (v11 != ' ' && v11 != '%');
- if (v10 >= v15 / _vm->_globals._fontFixedWidth) {
+ if (v10 >= v15 / _vm->_fontManager._fontFixedWidth) {
if (v11 == '%')
v11 = ' ';
break;