aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2009-04-06 17:31:22 +0000
committerNicola Mettifogo2009-04-06 17:31:22 +0000
commit8151a1d878f73280bb9497a88005e3449ec76ccb (patch)
tree3b77aa92c0f1ccb13587289d49d38b57f2766978 /engines/parallaction/exec_br.cpp
parent0e05ec8cc8122e92400925496e3a21e3980fe20d (diff)
downloadscummvm-rg350-8151a1d878f73280bb9497a88005e3449ec76ccb.tar.gz
scummvm-rg350-8151a1d878f73280bb9497a88005e3449ec76ccb.tar.bz2
scummvm-rg350-8151a1d878f73280bb9497a88005e3449ec76ccb.zip
Removed useless references to the global _vm.
svn-id: r39879
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r--engines/parallaction/exec_br.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index c333a284da..5116e21259 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -89,7 +89,7 @@ void Parallaction_br::setupSubtitles(char *s, char *s2, int y) {
// FIXME: render subtitles using the right color (10 instead of 0).
// The original game features a nasty hack, having the font rendering routine
// replacing color 12 of font RUSSIA with 10 when preparing subtitles.
- uint8 color = (_vm->getPlatform() == Common::kPlatformAmiga) ? 11 : 0;
+ uint8 color = (getPlatform() == Common::kPlatformAmiga) ? 11 : 0;
_subtitle[0] = _gfx->createLabel(_labelFont, s, color);
_gfx->showLabel(_subtitle[0], CENTER_LABEL_HORIZONTAL, _subtitleY);
if (s2) {